Skip to content

Commit df8b357

Browse files
committed
Enable Both slot Flash options (Fix resetprop) : Try 3
1 parent 9d9b940 commit df8b357

File tree

1 file changed

+1
-1
lines changed
  • app/src/main/java/com/github/capntrips/kernelflasher/ui/screens/slot

1 file changed

+1
-1
lines changed

app/src/main/java/com/github/capntrips/kernelflasher/ui/screens/slot/SlotViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ class SlotViewModel(
431431
private fun resetSlot() {
432432
val activeSlotSuffix = Shell.cmd("getprop ro.boot.slot_suffix").exec().out[0]
433433
val newSlot = if (activeSlotSuffix == "_a") "_b" else "_a"
434-
Shell.cmd("magisk resetprop -n ro.boot.slot_suffix $newSlot").exec()
434+
Shell.cmd("resetprop -n ro.boot.slot_suffix $newSlot").exec()
435435
wasSlotReset = !wasSlotReset
436436
}
437437

0 commit comments

Comments
 (0)