am 8cd39351
: am bd5cbb04
: am fd845410
: Merge "remove primary condition check on storage format." into klp-dev
* commit '8cd39351fe9d1164a06bb4420e2b95c5dd9259fb': remove primary condition check on storage format.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user