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

Commit a0d0b95d authored by Joel Galenson's avatar Joel Galenson
Browse files

Only show the linear loading bar when reloading data.

We currently show the linear loading bar even when reloading the UI
without reloading data (e.g., when showing system apps).  This step
can take a non-trivial amount of time, during which the loading bar
isn't animated, so this looks janky.

Bug: 125332206
Test: Show/hide system apps, click refresh button.
Change-Id: I1f83082e932c971867651021d2062d98a9a8f57e
parent eb082d6a
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -367,9 +367,6 @@ public class PermissionUsageFragment extends SettingsWithButtonHeader implements
        if (appPermissionUsages.isEmpty() || getActivity() == null) {
            return;
        }
        if (mFinishedInitialLoad) {
            setProgressBarVisible(true);
        }
        Context context = getActivity();

        PreferenceScreen screen = getPreferenceScreen();