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

android 14 crash #2

Open
LxzBUG opened this issue Dec 3, 2024 · 1 comment
Open

android 14 crash #2

LxzBUG opened this issue Dec 3, 2024 · 1 comment

Comments

@LxzBUG
Copy link

LxzBUG commented Dec 3, 2024

Caused by: java.lang.SecurityException: com.xxx.xxxx: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts

发生在 WifiConnector.get().release()的时候

@LxzBUG
Copy link
Author

LxzBUG commented Dec 3, 2024

getApplication().registerReceiver(mWifiConnectBroadcastReceiver, mWifiConnectIntentFilter) 要加个export参数

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