You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/src/main/java/com/github/capntrips/kernelflasher/ui/screens/slot/SlotViewModel.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -508,7 +508,7 @@ class SlotViewModel(
508
508
val files =File(context.filesDir.canonicalPath)
509
509
val flashScript =File(files, "flash_ak3.sh")
510
510
val slot_inactive_state =if(isActive) "active"else"inactive"
511
-
val result =Shell.Builder.create().setFlags(Shell.FLAG_MOUNT_MASTERorShell.FLAG_REDIRECT_STDERR).build().newJob().add("F=$files Z=\"$zip\" S=\"slot_inactive_state\" P=\"slot_suffix\" /system/bin/sh $flashScript").to(flashOutput).exec()
511
+
val result =Shell.Builder.create().setFlags(Shell.FLAG_MOUNT_MASTERorShell.FLAG_REDIRECT_STDERR).build().newJob().add("F=$files Z=\"$zip\" S=\"$slot_inactive_state\" P=\"$slot_suffix\" /system/bin/sh $flashScript").to(flashOutput).exec()
0 commit comments