Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Message : Sending non-protected broadcast #15

Open
kspark-sqisoft opened this issue Jul 26, 2024 · 0 comments
Open

Error Message : Sending non-protected broadcast #15

kspark-sqisoft opened this issue Jul 26, 2024 · 0 comments

Comments

@kspark-sqisoft
Copy link

kspark-sqisoft commented Jul 26, 2024

error occur when message send

private fun onSendBroadcast(call: MethodCall, result: Result) {
withBroadcastArgs(call, result) { name, data ->
Intent().also { intent ->
intent.action = name
data.forEach { entry ->
intent.putExtra(entry.key, entry.value as Serializable)
}
context.sendBroadcast(intent)
Log.d(TAG, "sent broadcast: $name")
}
}
}

Sending non-protected broadcast com.sqisoft.flexi.message from system 22681:com.sqisoft.flexiagent/1000 pkg com.sqisoft.flexiagent
java.lang.Throwable
at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:14852)
at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:15399)
at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:14869)
at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:15635)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:1950)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2752)
at android.os.Binder.execTransactInternal(Binder.java:1021)
at android.os.Binder.execTransact(Binder.java:994)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant