Install to Second Slot -> Install to Inactive slot

This commit is contained in:
topjohnwu
2018-07-29 15:45:04 +08:00
parent b8eaff66fa
commit 89861eceef
26 changed files with 7 additions and 28 deletions

View File

@@ -121,7 +121,7 @@ public class FlashActivity extends Activity {
case Const.Value.FLASH_MAGISK:
new InstallMagisk(this, console, logs, uri, InstallMagisk.DIRECT_MODE).exec();
break;
case Const.Value.FLASH_SECOND_SLOT:
case Const.Value.FLASH_INACTIVE_SLOT:
new InstallMagisk(this, console, logs, uri, InstallMagisk.SECOND_SLOT_MODE).exec();
break;
case Const.Value.PATCH_BOOT: