Merge "Format volume option restored"

This commit is contained in:
Gilles Debunne
2011-08-12 13:53:43 -07:00
committed by Android (Google) Code Review

View File

@@ -254,10 +254,6 @@ public class StorageVolumePreferenceCategory extends PreferenceCategory implemen
}
}
if (mFormatPreference != null) {
removePreference(mFormatPreference);
}
if ((mStorageVolume == null || !mStorageVolume.isRemovable())
&& !Environment.MEDIA_UNMOUNTED.equals(state)) {
// This device has built-in storage that is not removable.