We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b492e68 commit e19742aCopy full SHA for e19742a
app/src/main/java/me/teble/xposed/autodaily/activity/common/MainActivity.kt
@@ -198,6 +198,11 @@ fun ShizukuCard() {
198
}
199
return@clickable
200
201
+ val keepAlive = xaApp.prefs.getBoolean("KeepAlive", false)
202
+ if (!keepAlive) {
203
+ Toast.makeText(xaApp, "未启用保活,无需启动守护进程", Toast.LENGTH_SHORT).show()
204
+ return@clickable
205
+ }
206
if (!MainActivity.shizukuDaemonRunning) {
207
bindUserService()
208
startPeekRunnable()
0 commit comments