Magisk/native
topjohnwu e02e46d0fc Detect volume down key combo for safe mode
It is possible that a module is breaking the device so bad that zygote
cannot even be started. In this case, system_server cannot start and
detect the safe mode key combo, set the persist property, and reboot.

Also on old Android versions, the system directly goes to safe mode
after detecting a key combo without rebooting, defeating the purpose of
Magisk's safe mode protection if we only check for the persist property.

Directly adding key combo check natively in magiskd allows us to enter
Magisk safe mode before the system is even aware of it.
2020-05-19 04:57:47 -07:00
..
jni Detect volume down key combo for safe mode 2020-05-19 04:57:47 -07:00
src/main Full project restructuring 2019-01-30 03:10:12 -05:00
.gitignore Support Android Q new init setup 2019-03-03 06:35:25 -05:00
build.gradle Let build.py setup NDK 2020-04-03 03:34:07 -07:00