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 3978cdb commit 480aa97Copy full SHA for 480aa97
app/src/main/kotlin/li/songe/gkd/permission/PermissionState.kt
@@ -313,6 +313,7 @@ val writeSecureSettingsState by lazy {
313
}
314
315
private fun shizukuCheckGranted(): Boolean {
316
+ if (Shizuku.getBinder()?.isBinderAlive != true) return false
317
val granted = try {
318
Shizuku.checkSelfPermission() == PackageManager.PERMISSION_GRANTED
319
} catch (_: Throwable) {
0 commit comments