Fix 'Documents & other' missing problem am: 03b1b23c74
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17910929 Change-Id: Ibe6da087880153d6da8e3ab4827768300f4a1076 Ignore-AOSP-First: this is an automerge Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -234,7 +234,9 @@ public class StorageItemPreferenceController extends AbstractPreferenceControlle
|
||||
|
||||
// If isValidPrivateVolume() is true, these preferences will become visible at
|
||||
// onLoadFinished.
|
||||
if (!isValidPrivateVolume()) {
|
||||
if (isValidPrivateVolume()) {
|
||||
mIsDocumentsPrefShown = isDocumentsPrefShown();
|
||||
} else {
|
||||
setPrivateStorageCategoryPreferencesVisibility(false);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user