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

Commit fd845410 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "remove primary condition check on storage format." into klp-dev

parents 9271875c 93df01e3
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -205,9 +205,7 @@ public class StorageVolumePreferenceCategory extends PreferenceCategory {
            addPreference(mMountTogglePreference);
        }

        // Only allow formatting of primary physical storage
        // TODO: enable for non-primary volumes once MTP is fixed
        final boolean allowFormat = mVolume != null ? mVolume.isPrimary() : false;
        final boolean allowFormat = mVolume != null;
        if (allowFormat) {
            mFormatPreference = new Preference(context);
            mFormatPreference.setTitle(R.string.sd_format);