• topjohnwu's avatar
    Try to use broadcast for su logging and notify · 80cd85b0
    topjohnwu authored
    In commit 8d4c4072, 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
    80cd85b0
Name
Last commit
Last update
app Loading commit data...
chromeos Loading commit data...
docs Loading commit data...
gradle/wrapper Loading commit data...
native Loading commit data...
net Loading commit data...
scripts Loading commit data...
shared Loading commit data...
signing Loading commit data...
snet Loading commit data...
stub Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
LICENSE Loading commit data...
README.MD Loading commit data...
build.gradle Loading commit data...
build.py Loading commit data...
config.prop.sample Loading commit data...
gradle.properties Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle Loading commit data...