Skip to content

Commit

Permalink
* [Issue #7] Detection of KingRoot fails due a typo.
Browse files Browse the repository at this point in the history
Fixed a typo on the KingRoot detection code leading the detection to always fail.
  • Loading branch information
amaa-99 authored and amaa-99 committed Aug 9, 2023
1 parent 30bf035 commit e5a5202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/dev/ukanth/ufirewall/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -2545,7 +2545,7 @@ protected Void doInBackground(Void... params) {
//open shell if required
Shell.getShell().isRoot();
suGranted[0] = Shell.isAppGrantedRoot();
unsupportedSU = isSuPackage(getPackageManager(), "com.kingouser.com");
unsupportedSU = isSuPackage(getPackageManager(), "com.kingroot.kinguser");
return null;
}

Expand Down

0 comments on commit e5a5202

Please sign in to comment.