Fix 'Documents & other' missing problem
Should check if 'Documents & other' is visible when mVolume is updated. Bug: 230215783 Test: manual visual Settings -> Storage Change-Id: Ife36b71bee66ff16802e352785824e10c17dceb8
This commit is contained in:
@@ -234,7 +234,9 @@ public class StorageItemPreferenceController extends AbstractPreferenceControlle
|
|||||||
|
|
||||||
// If isValidPrivateVolume() is true, these preferences will become visible at
|
// If isValidPrivateVolume() is true, these preferences will become visible at
|
||||||
// onLoadFinished.
|
// onLoadFinished.
|
||||||
if (!isValidPrivateVolume()) {
|
if (isValidPrivateVolume()) {
|
||||||
|
mIsDocumentsPrefShown = isDocumentsPrefShown();
|
||||||
|
} else {
|
||||||
setPrivateStorageCategoryPreferencesVisibility(false);
|
setPrivateStorageCategoryPreferencesVisibility(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user