-
Notifications
You must be signed in to change notification settings - Fork 83
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
Silent App Install not working properly, only installing one app then stops. #8
Comments
I wonder why this issue is raised on an Android 11. This issue could happen on earlier Android OS builds (up to 5) but it has been fixed in later Android versions. Anyway, I think nothing could be done with this as this seems to be the Android OS bug. At least, Android documentation doesn't mention this restriction, and the last mention of this issue on stackoverflow is dated by 2013. The exception is caught in the Headwind MDM code and just logged. |
Okay, I am not totally sure that error is the cause of the issue. Maybe it is just logged. I am also seeing this Exception, does this look like an issue? 2022-08-26 16:38:59.849 2158-2469/com.hmdm.launcher I/HeadwindMDM: RemoteLogWorker scheduled |
You are right, this one is something more serious. This issue will be diagnosed and fixed in further versions of Headwind MDM agent. |
The problem seems to be related to not being able to receive the app installed succesfully Intent, caused by Error BroadcastReceiver components are not allowed to register to receive intents. This is on an Android 11 AOSP device.
2022-08-25 15:52:18.531 2093-2093/com.hmdm.launcher W/System.err: android.content.ReceiverCallNotAllowedException: BroadcastReceiver components are not allowed to register to receive intents
2022-08-25 15:52:18.531 2093-2093/com.hmdm.launcher W/System.err: at android.app.ReceiverRestrictedContext.registerReceiver(ContextImpl.java:132)
2022-08-25 15:52:18.531 2093-2093/com.hmdm.launcher W/System.err: at android.app.ReceiverRestrictedContext.registerReceiver(ContextImpl.java:121)
2022-08-25 15:52:18.531 2093-2093/com.hmdm.launcher W/System.err: at com.hmdm.launcher.helper.ConfigUpdater.registerAppInstallReceiver(ConfigUpdater.java:921)
2022-08-25 15:52:18.531 2093-2093/com.hmdm.launcher W/System.err: at com.hmdm.launcher.helper.ConfigUpdater.checkAndUpdateApplications(ConfigUpdater.java:596)
2022-08-25 15:52:18.531 2093-2093/com.hmdm.launcher W/System.err: at com.hmdm.launcher.helper.ConfigUpdater.loadAndInstallFiles(ConfigUpdater.java:575)
2022-08-25 15:52:18.532 2093-2093/com.hmdm.launcher W/System.err: at com.hmdm.launcher.helper.ConfigUpdater.access$1500(ConfigUpdater.java:55)
2022-08-25 15:52:18.532 2093-2093/com.hmdm.launcher W/System.err: at com.hmdm.launcher.helper.ConfigUpdater$8.onPostExecute(ConfigUpdater.java:442)
2022-08-25 15:52:18.532 2093-2093/com.hmdm.launcher W/System.err: at com.hmdm.launcher.helper.ConfigUpdater$8.onPostExecute(ConfigUpdater.java:431)
2022-08-25 15:52:18.532 2093-2093/com.hmdm.launcher W/System.err: at android.os.AsyncTask.finish(AsyncTask.java:771)
2022-08-25 15:52:18.532 2093-2093/com.hmdm.launcher W/System.err: at android.os.AsyncTask.access$900(AsyncTask.java:199)
2022-08-25 15:52:18.532 2093-2093/com.hmdm.launcher W/System.err: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788)
2022-08-25 15:52:18.532 2093-2093/com.hmdm.launcher W/System.err: at android.os.Handler.dispatchMessage(Handler.java:106)
2022-08-25 15:52:18.533 2093-2093/com.hmdm.launcher W/System.err: at android.os.Looper.loop(Looper.java:223)
2022-08-25 15:52:18.533 2093-2093/com.hmdm.launcher W/System.err: at android.app.ActivityThread.main(ActivityThread.java:7656)
2022-08-25 15:52:18.533 2093-2093/com.hmdm.launcher W/System.err: at java.lang.reflect.Method.invoke(Native Method)
2022-08-25 15:52:18.534 2093-2093/com.hmdm.launcher W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
2022-08-25 15:52:18.534 2093-2093/com.hmdm.launcher W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
The text was updated successfully, but these errors were encountered: