Skip to content

Commit

Permalink
[Main] Fix classifying system apps
Browse files Browse the repository at this point in the history
Signed-off-by: Muntashir Al-Islam <[email protected]>
  • Loading branch information
MuntashirAkon committed Aug 12, 2024
1 parent 9a75455 commit 0b3eaf4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ public ApplicationItem() {

public void generateOtherInfo() {
isStopped = (flags & ApplicationInfo.FLAG_STOPPED) != 0;
isSystem = (flags & ApplicationInfo.FLAG_SYSTEM) != 0;
isPersistent = (flags & ApplicationInfo.FLAG_PERSISTENT) != 0;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
usesCleartextTraffic = (flags & ApplicationInfo.FLAG_USES_CLEARTEXT_TRAFFIC) != 0;
Expand Down

0 comments on commit 0b3eaf4

Please sign in to comment.