diff options
author | Gilles Debunne <debunne@google.com> | 2011-08-05 17:47:52 -0700 |
---|---|---|
committer | Gilles Debunne <debunne@google.com> | 2011-08-08 14:14:40 -0700 |
commit | cba7d938bbca392352d8aee733e913844c96e9fa (patch) | |
tree | 47b083b28b447aa9ed0234a008a6a06ad50665bd /src/com/android/settings/deviceinfo | |
parent | 18e05d431365ca242bcd220a6ce9f6dba06e3a6c (diff) | |
download | packages_apps_settings-cba7d938bbca392352d8aee733e913844c96e9fa.zip packages_apps_settings-cba7d938bbca392352d8aee733e913844c96e9fa.tar.gz packages_apps_settings-cba7d938bbca392352d8aee733e913844c96e9fa.tar.bz2 |
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
Diffstat (limited to 'src/com/android/settings/deviceinfo')
-rw-r--r-- | src/com/android/settings/deviceinfo/StorageVolumePreferenceCategory.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/com/android/settings/deviceinfo/StorageVolumePreferenceCategory.java b/src/com/android/settings/deviceinfo/StorageVolumePreferenceCategory.java index ae6d817..4d22548 100644 --- a/src/com/android/settings/deviceinfo/StorageVolumePreferenceCategory.java +++ b/src/com/android/settings/deviceinfo/StorageVolumePreferenceCategory.java @@ -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. |