Magisk/native/jni/include
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
..
daemon.h Try to use broadcast for su logging and notify 2019-05-13 02:01:10 -07:00
db.h Try to use broadcast for su logging and notify 2019-05-13 02:01:10 -07:00
flags.h Refactor build flags 2019-02-12 05:17:02 -05:00
magisk.h Remove requirement to use early-init daemon 2019-04-24 00:13:48 -04:00
resetprop.h Make parse prop file a util function 2019-03-05 20:27:09 -05:00