Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 03b1b23c authored by Arc Wang's avatar Arc Wang
Browse files

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
parent fd7153ed
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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);
        }
    }