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

Commit 90c963b1 authored by Daniel Nishi's avatar Daniel Nishi Committed by android-build-merger
Browse files

Merge "Fix a bug where storage settings flickers." into oc-dev

am: 1da71239

Change-Id: I1cfe2b00a37e26d0e4f7c6806fadb601c5fdb617
parents 183aed6d 1da71239
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -133,8 +133,12 @@ public class StorageDashboardFragment extends DashboardFragment

        mPreferenceController.onLoadFinished(mAppsResult.get(UserHandle.myUserId()));
        updateSecondaryUserControllers(mSecondaryUsers, mAppsResult);

        // setLoading always causes a flicker, so let's avoid doing it.
        if (getView().findViewById(R.id.loading_container).getVisibility() == View.VISIBLE) {
            setLoading(false, true);
        }
    }

    @Override
    public int getMetricsCategory() {