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

This reverts commit 814eff1c24.

Reason for revert: The original logic is right.

Change-Id: I2aee0f9ab13c60d843e91056de9d409a1d84b9d4
This commit is contained in:
Zaiyue Xue
2023-01-09 07:29:30 +00:00
parent 814eff1c24
commit 9a35838436
2 changed files with 4 additions and 4 deletions

View File

@@ -1826,7 +1826,8 @@ 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) {