Progress towards split storage categories.
Cleans up StorageVolumePreferenceCategory creation, and uses new isPrimary() API instead of passing around hacky "i == 0" derived value. Bug: 7003520 Change-Id: I9eb7164035b5368ee795e35b22e750aebbf3b159
This commit is contained in:
@@ -195,7 +195,7 @@ public class MiscFilesHandler extends ListActivity {
|
||||
final StorageVolume storageVolume = activity.getIntent().getParcelableExtra(
|
||||
StorageVolume.EXTRA_STORAGE_VOLUME);
|
||||
StorageMeasurement mMeasurement = StorageMeasurement.getInstance(
|
||||
activity, storageVolume, new UserHandle(UserHandle.USER_CURRENT), false);
|
||||
activity, storageVolume, UserHandle.CURRENT);
|
||||
if (mMeasurement == null) return;
|
||||
mData = (ArrayList<StorageMeasurement.FileInfo>) mMeasurement.mFileInfoForMisc;
|
||||
if (mData != null) {
|
||||
|
Reference in New Issue
Block a user