Fix the inverted logic to judge whether an app is system app.

Bug: 264626206
Fix: 264626206
Test: maunal
Change-Id: I3750e3b11e444add27243c492cf8968373cd57d0
This commit is contained in:
Zaiyue Xue
2023-01-06 15:24:44 +08:00
parent c1f7222273
commit 814eff1c24
2 changed files with 4 additions and 4 deletions

View File

@@ -1826,8 +1826,7 @@ public final class DataProcessor {
if (appEntry == null || appEntry.info == null) {
return false;
}
return !ApplicationsState.FILTER_DOWNLOADED_AND_LAUNCHER_AND_INSTANT.filterApp(
appEntry);
return ApplicationsState.FILTER_DOWNLOADED_AND_LAUNCHER_AND_INSTANT.filterApp(appEntry);
}
private static boolean shouldShowBatteryAttributionList(final Context context) {