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 bd70a55 commit 76943a7Copy full SHA for 76943a7
base/src/main/java/io/github/sds100/keymapper/base/promode/SystemBridgeSetupUseCase.kt
@@ -222,7 +222,7 @@ class SystemBridgeSetupUseCaseImpl @Inject constructor(
222
.run { systemBridge ->
223
// The USB setting does not matter if the system bridge is running as root
224
// because it doesn't rely on the ADB process.
225
- systemBridge.processUid == Process.SHELL_UID &&
+ systemBridge.processUid == Process.ROOT_UID ||
226
systemBridge.usbScreenUnlockedFunctions.toInt() == 0
227
}
228
0 commit comments