Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cba7d938 authored by Gilles Debunne's avatar Gilles Debunne
Browse files

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
parent 18e05d43
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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.