Magisk/native/jni/su
topjohnwu 80cd85b061 Try to use broadcast for su logging and notify
In commit 8d4c407, native Magisk always launches an activity for
communicating with Magisk Manager. While this works extremely well,
since it also workaround stupid OEMs that blocks broadcasts, it has a
problem: launching an activity will claim the focus of the device,
which could be super annoying in some circumstances.

This commit adds a new feature to run a broadcast test on boot complete.
If Magisk Manager successfully receives the broadcast, it will toggle
a setting in magiskd so all future su loggings and notifies will always
use broadcasts instead of launching activities.

Fix #1412
2019-05-13 02:01:10 -07:00
..
connect.cpp Try to use broadcast for su logging and notify 2019-05-13 02:01:10 -07:00
pts.cpp Build with -Wall 2019-04-29 21:26:43 -04:00
pts.h Fix SIGWINCH never followed 2018-11-20 04:40:42 -05:00
su_daemon.cpp Try to use broadcast for su logging and notify 2019-05-13 02:01:10 -07:00
su.cpp Use our own function to parse int 2019-03-07 20:31:35 -05:00
su.h Try to use broadcast for su logging and notify 2019-05-13 02:01:10 -07:00