Magisk/native/jni
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
..
core Try to use broadcast for su logging and notify 2019-05-13 02:01:10 -07:00
external Update native external dependencies 2019-04-30 01:31:07 -04:00
include Try to use broadcast for su logging and notify 2019-05-13 02:01:10 -07:00
magiskboot Correct magiskboot help 2019-05-09 20:28:48 -07:00
magiskhide Monitor app_process 2019-04-22 16:36:23 -04:00
magiskpolicy Revert ioctl rules 2019-04-29 21:25:57 -04:00
resetprop Make parse prop file a util function 2019-03-05 20:27:09 -05:00
su Try to use broadcast for su logging and notify 2019-05-13 02:01:10 -07:00
systemproperties Some code adjustments 2019-02-24 23:09:34 -05:00
utils Remove requirement to use early-init daemon 2019-04-24 00:13:48 -04:00
.gitignore Add entrypoint to build test 2019-04-01 02:46:09 -04:00
Android.mk Add entrypoint to build test 2019-04-01 02:46:09 -04:00
Application.mk Build with -Wall 2019-04-29 21:26:43 -04:00