Make Magisk version more clear

This commit is contained in:
topjohnwu
2018-04-14 15:32:37 +08:00
parent 2ca528f93f
commit fd7b5f393a
9 changed files with 22 additions and 11 deletions
@@ -202,7 +202,7 @@ public class Utils {
public static void patchDTBO() {
MagiskManager mm = MagiskManager.get();
if (mm.magiskVersionCode >= 1446 && !mm.keepVerity) {
if (mm.magiskVersionCode >= Const.MAGISK_VER.DTBO_SUPPORT && !mm.keepVerity) {
if (ShellUtils.fastCmdResult(Shell.getShell(), "patch_dtbo_image")) {
ShowUI.dtboPatchedNotification();
}