We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 291992c commit a7f3013Copy full SHA for a7f3013
1 file changed
app/src/main/java/com/appcontrolx/bridge/NativeBridge.kt
@@ -285,8 +285,10 @@ class NativeBridge @Inject constructor(
285
launchViaIntent(packageName, activityName)
286
} else {
287
// Shell launch (can launch non-exported activities)
288
- val result = shellManager.execute("am start -n $packageName/$activityName")
289
- result.isSuccess
+ runBlocking {
+ val result = shellManager.execute("am start -n $packageName/$activityName")
290
+ result.isSuccess
291
+ }
292
}
293
} catch (e: Exception) {
294
false
0 commit comments