Bump version

This commit is contained in:
topjohnwu 2017-06-08 03:20:04 +08:00
parent 69e5bcd57d
commit 862058fd2b
3 changed files with 4 additions and 4 deletions

View File

@ -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'

View File

@ -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);

View File

@ -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);
}
}