[skip ci] Gradle task: reboot using power svc (#2692)

This commit is contained in:
Howard Wu 2023-08-17 16:57:14 +08:00 committed by GitHub
parent a1305c8916
commit 1bb7a340ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ fun afterEval() = android.applicationVariants.forEach { variant ->
task<Exec>("flashAndReboot${variantCapped}") {
group = "LSPosed"
dependsOn(flashTask)
commandLine(adb, "shell", "reboot")
commandLine(adb, "shell", "/system/bin/svc", "power", "reboot")
}
}