You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
idkyou1500
pushed a commit
to idkyou1500/librootjava
that referenced
this issue
Jun 17, 2023
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 thesendBroadcast
method ALWAYS uses the user with id0
which means the owner user:librootjava/librootjava/src/main/java/eu/chainfire/librootjava/Reflection.java
Line 197 in 7863f45
librootjava/librootjava/src/main/java/eu/chainfire/librootjava/Reflection.java
Line 202 in 7863f45
I think it is a but so could you fix it? Thanks.
The text was updated successfully, but these errors were encountered: