Prevent hiding Magisk Manager on old Magisk versions
This commit is contained in:
parent
614a36c888
commit
a356b21895
@ -148,7 +148,7 @@ public class SettingsActivity extends Activity implements Topic.Subscriber {
|
||||
suCategory.removePreference(reauth);
|
||||
}
|
||||
|
||||
if (mm.getPackageName().equals(Const.ORIG_PKG_NAME)) {
|
||||
if (mm.getPackageName().equals(Const.ORIG_PKG_NAME) && mm.magiskVersionCode >= 1440) {
|
||||
hideManager.setOnPreferenceClickListener((pref) -> {
|
||||
Utils.runWithPermission(getActivity(),
|
||||
Manifest.permission.WRITE_EXTERNAL_STORAGE,
|
||||
|
Loading…
Reference in New Issue
Block a user