Magisk/app/src/main/java/com/topjohnwu/magisk
topjohnwu 8d4c407201 Directly communicate with Activity
Since Android Q does not allow launching activities from the background
(Services/BroadcastReceivers) and our native process is root, directly
launch activities and use it for communication between native and app.

The target activity is not exported, so non-root apps cannot send an
intent to fool Magisk Manager. This is as safe as the previous
implementation, which uses protected system broadcasts.

This also workaround broadcast limitations in many ROMs (especially
in Chinese ROMs) which blocks the su request dialog if the app is
frozen/force stopped by the system.

Close #1326
2019-04-10 23:35:31 -04:00
..
adapters Remove com.google.android.gms from default list 2019-03-27 21:33:04 -04:00
components Directly communicate with Activity 2019-04-10 23:35:31 -04:00
container Update some dependencies 2019-04-02 01:50:25 -04:00
database Don't care minMagiskVersion 2019-03-29 10:25:07 -04:00
dialogs Move methods 2019-04-08 17:35:32 -04:00
fragments More cleanups 2019-04-10 13:54:33 -04:00
tasks Update libsu 2019-04-08 21:05:11 -04:00
uicomponents Drastically improve module download service 2019-04-10 02:00:48 -04:00
utils Cleanup SuLogger 2019-04-10 18:09:41 -04:00
App.java Some cleanups 2019-04-10 05:15:20 -04:00
ClassMap.java Separate stub Magisk Manager to a module 2019-03-08 10:16:02 -05:00
Config.java Remove patch format options 2019-04-09 04:37:34 -04:00
Const.java Some cleanups 2019-04-10 05:15:20 -04:00
FlashActivity.java Move methods 2019-04-08 17:35:32 -04:00
MainActivity.java Some cleanups 2019-04-10 05:15:20 -04:00
SplashActivity.java Some cleanups 2019-04-10 05:15:20 -04:00
SuRequestActivity.java Directly communicate with Activity 2019-04-10 23:35:31 -04:00