Hi, I'm using this library in my project but I have trouble with using RootIPC with non-owner users. I noticed that the starter app which registers receiver cannot receive the broadcast from the root process. I checked the code and noticed that the sendBroadcast method ALWAYS uses the user with id 0 which means the owner user:
I'm pretty sure you're correct, there. Not fixing this right now, but keeping the issue open until I may get around to it, or someone pull requests the fix.
I'm pretty sure you're correct, there. Not fixing this right now, but keeping the issue open until I may get around to it, or someone pull requests the fix.
How about provide an API to let developers get the Intent to be broadcasted? In my case, I use to stick it so my app won't need to start it again in order to receive the broadcast, and make it public also provides some more customizable thing.
Activity
Chainfire commented on Apr 2, 2019
I'm pretty sure you're correct, there. Not fixing this right now, but keeping the issue open until I may get around to it, or someone pull requests the fix.
Trumeet commented on Apr 2, 2019
How about provide an API to let developers get the Intent to be broadcasted? In my case, I use to stick it so my app won't need to start it again in order to receive the broadcast, and make it public also provides some more customizable thing.
Doc adjustments Chainfire#5