Format volume option restored
It was removed independently of the state. As a result an "Erase USB Storage" option is now available on the Nexus S. I guess this is WAI. Change-Id: I8765808924085c10ebf213da7f825db70017d0aa
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user