-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I'm trying to capture the intents broadcasted by the Intent Wedge which is enabled.
However, my BroadcastReceiver isn't triggered.
I checked the general system LogCat output and noticed the following when I trigger a scan:
2019-09-11 18:08:18.429 2255-2342/? W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:966 android.content.ContextWrapper.sendBroadcast:437 com.datalogic.provider.IntentWedgeThread$1.handleMessage:97 android.os.Handler.dispatchMessage:106 android.os.Looper.loop:164
2019-09-11 18:08:18.431 749-2665/? E/ActivityManager: Sending non-protected broadcast com.datalogic.decodewedge.decode_action from system 2255:com.datalogic.service/1000 pkg com.datalogic.service
java.lang.Throwable
at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:19283)
at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:19900)
at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:20042)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:240)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2971)
at android.os.Binder.execTransact(Binder.java:706)
It seems as if Android is dismissing the intent because it's not protected which might explain why my BroadcastReceiver isn't being triggered.
Any idea?
Any help is highly appreciated!
Extra system info
- device: Datalogic Memor 1
- SDK version: 1.17
- android version: 8.1.0
- compileSdkVersion: 27
- minSdkVersion: 16
- targetSdkVersion: 27
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels