mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 10:35:26 +00:00
Bump version
This commit is contained in:
parent
69e5bcd57d
commit
862058fd2b
@ -9,8 +9,8 @@ android {
|
||||
applicationId "com.topjohnwu.magisk"
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 25
|
||||
versionCode 31
|
||||
versionName "4.3.3"
|
||||
versionCode 40
|
||||
versionName "5.0.0"
|
||||
ndk {
|
||||
moduleName 'zipadjust'
|
||||
abiFilters 'x86', 'armeabi-v7a'
|
||||
|
@ -124,7 +124,7 @@ public class MainActivity extends Activity
|
||||
public void checkHideSection() {
|
||||
Menu menu = navigationView.getMenu();
|
||||
menu.findItem(R.id.magiskhide).setVisible(
|
||||
Shell.rootAccess() && getApplicationContext().magiskVersionCode >= 130
|
||||
Shell.rootAccess() && getApplicationContext().magiskVersionCode >= 1300
|
||||
&& prefs.getBoolean("magiskhide", false));
|
||||
menu.findItem(R.id.modules).setVisible(
|
||||
Shell.rootAccess() && getApplicationContext().magiskVersionCode >= 0);
|
||||
|
@ -105,7 +105,7 @@ public class SettingsActivity extends Activity {
|
||||
if (!magiskManager.isSuClient) {
|
||||
prefScreen.removePreference(suCategory);
|
||||
}
|
||||
if (magiskManager.magiskVersionCode < 130) {
|
||||
if (magiskManager.magiskVersionCode < 1300) {
|
||||
prefScreen.removePreference(magiskCategory);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user