From 4d5a9f6e15c71e9bb0ae7e9c4edc5197e602f055 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Thu, 22 Feb 2018 01:08:53 +0800 Subject: [PATCH] Bump version --- build.gradle | 6 +++--- src/main/java/com/topjohnwu/magisk/MagiskManager.java | 2 +- src/main/res/raw/changelog.md | 9 ++++----- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index 06c0d0ff0..a4102288d 100644 --- a/build.gradle +++ b/build.gradle @@ -8,8 +8,8 @@ android { applicationId "com.topjohnwu.magisk" minSdkVersion 21 targetSdkVersion 27 - versionCode 103 - versionName "5.6.0" + versionCode 105 + versionName "5.6.1" javaCompileOptions { annotationProcessorOptions { argument('butterknife.debuggable', 'false') @@ -46,7 +46,7 @@ repositories { dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation project(':utils') - implementation 'com.github.topjohnwu:libsu:1.1.0' + implementation 'com.github.topjohnwu:libsu:1.1.1' implementation 'com.android.support:recyclerview-v7:27.0.2' implementation 'com.android.support:cardview-v7:27.0.2' implementation 'com.android.support:design:27.0.2' diff --git a/src/main/java/com/topjohnwu/magisk/MagiskManager.java b/src/main/java/com/topjohnwu/magisk/MagiskManager.java index e84a7c6df..f63cc5113 100644 --- a/src/main/java/com/topjohnwu/magisk/MagiskManager.java +++ b/src/main/java/com/topjohnwu/magisk/MagiskManager.java @@ -105,7 +105,7 @@ public class MagiskManager extends Shell.ContainerApp { Shell.setInitializer(new Shell.Initializer() { @Override public void onRootShellInit(@NonNull Shell shell) { - try (InputStream utils = MagiskManager.get().getAssets().open(Const.UTIL_FUNCTIONS); + try (InputStream utils = getAssets().open(Const.UTIL_FUNCTIONS); InputStream sudb = getResources().openRawResource(R.raw.sudb)) { shell.loadInputStream(null, null, utils); shell.loadInputStream(null, null, sudb); diff --git a/src/main/res/raw/changelog.md b/src/main/res/raw/changelog.md index 6dcd7684b..5b3f99b16 100644 --- a/src/main/res/raw/changelog.md +++ b/src/main/res/raw/changelog.md @@ -1,5 +1,4 @@ -### v5.6.0 -- Remove JNI requirement, Magisk Manager is now pure Java -- Update the method of handling su database, may fix the issue that root requests won't save -- Add the option to restore Magisk Manager after repackaging with random package name -- Massive under-the-hood optimizations +### v5.6.1 +- Fix database crashes on F2FS with SQLite 3.21.0+ +- Optimize several settings options +- Use native XML for settings migration