kernel: press KEY_VOLUMEDOWN over 2 seconds will enter safemode and disable all modules

Co-authored-by: Ylarod <me@ylarod.cn>
This commit is contained in:
weishu
2023-02-13 21:23:18 +07:00
parent 20ff530962
commit ca950d909b
4 changed files with 142 additions and 4 deletions

View File

@@ -21,6 +21,7 @@
#define CMD_GET_DENY_LIST 6
#define CMD_REPORT_EVENT 7
#define CMD_SET_SEPOLICY 8
#define CMD_CHECK_SAFEMODE 9
#define EVENT_POST_FS_DATA 1
#define EVENT_BOOT_COMPLETED 2