Merge "Fix private volume UI items incorrectly displayed for public volume" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
8f9c49bc8b
@@ -475,8 +475,11 @@ public class StorageItemPreferenceController extends AbstractPreferenceControlle
|
|||||||
updatePrivateStorageCategoryPreferencesOrder();
|
updatePrivateStorageCategoryPreferencesOrder();
|
||||||
mIsPreferenceOrderedBySize = true;
|
mIsPreferenceOrderedBySize = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isValidPrivateVolume()) {
|
||||||
setPrivateStorageCategoryPreferencesVisibility(true);
|
setPrivateStorageCategoryPreferencesVisibility(true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private StorageCacheHelper.StorageCache getSizeInfo(
|
private StorageCacheHelper.StorageCache getSizeInfo(
|
||||||
SparseArray<StorageAsyncLoader.StorageResult> result, int userId) {
|
SparseArray<StorageAsyncLoader.StorageResult> result, int userId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user