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

This commit is contained in:
TreeHugger Robot
2023-01-09 09:39:02 +00:00
committed by Android (Google) Code Review
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) {