• topjohnwu's avatar
    Directly communicate with Activity · 8d4c4072
    topjohnwu authored
    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
    8d4c4072
Name
Last commit
Last update
..
jni Loading commit data...
src/main Loading commit data...
.gitignore Loading commit data...
build.gradle Loading commit data...