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"
|
applicationId "com.topjohnwu.magisk"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 25
|
targetSdkVersion 25
|
||||||
versionCode 31
|
versionCode 40
|
||||||
versionName "4.3.3"
|
versionName "5.0.0"
|
||||||
ndk {
|
ndk {
|
||||||
moduleName 'zipadjust'
|
moduleName 'zipadjust'
|
||||||
abiFilters 'x86', 'armeabi-v7a'
|
abiFilters 'x86', 'armeabi-v7a'
|
||||||
|
@ -124,7 +124,7 @@ public class MainActivity extends Activity
|
|||||||
public void checkHideSection() {
|
public void checkHideSection() {
|
||||||
Menu menu = navigationView.getMenu();
|
Menu menu = navigationView.getMenu();
|
||||||
menu.findItem(R.id.magiskhide).setVisible(
|
menu.findItem(R.id.magiskhide).setVisible(
|
||||||
Shell.rootAccess() && getApplicationContext().magiskVersionCode >= 130
|
Shell.rootAccess() && getApplicationContext().magiskVersionCode >= 1300
|
||||||
&& prefs.getBoolean("magiskhide", false));
|
&& prefs.getBoolean("magiskhide", false));
|
||||||
menu.findItem(R.id.modules).setVisible(
|
menu.findItem(R.id.modules).setVisible(
|
||||||
Shell.rootAccess() && getApplicationContext().magiskVersionCode >= 0);
|
Shell.rootAccess() && getApplicationContext().magiskVersionCode >= 0);
|
||||||
|
@ -105,7 +105,7 @@ public class SettingsActivity extends Activity {
|
|||||||
if (!magiskManager.isSuClient) {
|
if (!magiskManager.isSuClient) {
|
||||||
prefScreen.removePreference(suCategory);
|
prefScreen.removePreference(suCategory);
|
||||||
}
|
}
|
||||||
if (magiskManager.magiskVersionCode < 130) {
|
if (magiskManager.magiskVersionCode < 1300) {
|
||||||
prefScreen.removePreference(magiskCategory);
|
prefScreen.removePreference(magiskCategory);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user