From 831112abd2d7fd3df0b1680d1c73c458512e7745 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Wed, 4 Jul 2018 20:18:17 +0800 Subject: [PATCH] Hide install to second slot option until Magisk properly supports it --- src/full/java/com/topjohnwu/magisk/utils/ShowUI.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/full/java/com/topjohnwu/magisk/utils/ShowUI.java b/src/full/java/com/topjohnwu/magisk/utils/ShowUI.java index efdc9eef3..c4f6c6f6d 100644 --- a/src/full/java/com/topjohnwu/magisk/utils/ShowUI.java +++ b/src/full/java/com/topjohnwu/magisk/utils/ShowUI.java @@ -134,10 +134,6 @@ public class ShowUI { if (Shell.rootAccess()) { options.add(mm.getString(R.string.direct_install)); } - String s = ShellUtils.fastCmd("grep_prop ro.build.ab_update"); - if (s != null && Boolean.parseBoolean(s)) { - options.add(mm.getString(R.string.install_second_slot)); - } new AlertDialog.Builder(activity) .setTitle(R.string.select_method) .setItems(