Skip to content

Commit

Permalink
Fix syntax in HookDetectionCheck.java
Browse files Browse the repository at this point in the history
  • Loading branch information
levibuzolic committed Apr 4, 2024
1 parent a05f0ff commit 7025fcb
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ public static boolean hookDetected(Context context) {
PackageManager packageManager = context.getPackageManager();
List<ApplicationInfo> applicationInfoList = packageManager.getInstalledApplications(PackageManager.GET_META_DATA);
String[] dangerousPackages = {
"de.robv.android.xposed.installer",
"com.saurik.substrate",
"de.robv.android.xposed"
"de.robv.android.xposed.installer",
"com.saurik.substrate",
"de.robv.android.xposed",
"com.noshufou.android.su.elite",
"eu.chainfire.supersu",
"com.koushikdutta.superuser",
Expand All @@ -45,7 +45,7 @@ public static boolean hookDetected(Context context) {
"eu.chainfire.supersu.pro",
"com.kingouser.com",
"com.topjohnwu.magisk"
};
};

if (applicationInfoList != null) {
for (ApplicationInfo applicationInfo : applicationInfoList) {
Expand Down

0 comments on commit 7025fcb

Please sign in to comment.