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

Commit 92c2b41b authored by jackqdyulei's avatar jackqdyulei
Browse files

Fix the visibility for disabled apps in settings

Bug: 30770664

Don't show disabled app in the PermissionAppsFragment.

Change-Id: I0d97f7011c13c9a78e988901285f10ca9e5b2cd8
parent 12b67e95
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -195,6 +195,10 @@ public final class PermissionAppsFragment extends PermissionsFrameFragment imple
                continue;
            }

            if (!app.getAppInfo().enabled) {
                continue;
            }

            String key = app.getKey();
            preferencesToRemove.remove(key);
            Preference existingPref = screen.findPreference(key);