Merge "Disable "internal" when adoption not possible."

This commit is contained in:
Jeff Sharkey
2018-06-29 20:50:48 +00:00
committed by Android (Google) Code Review

View File

@@ -56,6 +56,7 @@ public class StorageWizardInit extends StorageWizardBase {
if (!mDisk.isAdoptable()) {
// If not adoptable, we only have one choice
mInternal.setEnabled(false);
onNavigateExternal(null);
} else if (!mIsPermittedToAdopt) {
// TODO: Show a message about why this is disabled for guest and