修改Android系统长按关机时间,或禁用长按关机

2019-07-14 03:27发布

kernel-3.10/drivers/misc/mediatek/mach/mt6735/te12/keypad/mtk_kpd.h !74 #define ONEKEY_REBOOT_NORMAL_MODE //#define TWOKEY_REBOOT_NORMAL_MODE //#define ONEKEY_REBOOT_OTHER_MODE //#define TWOKEY_REBOOT_OTHER_MODE /* KPD_PMIC_RSTKEY_MAP is defined in cust_kpd.h */ #define KPD_PMIC_LPRST_TD 1 /* timeout period. 0: 8sec; 1: 11sec; 2: 14sec; 3: 5sec */