diff --git a/sepolicy/treble_app.te b/sepolicy/treble_app.te index e6cdf3c..f78a29a 100644 --- a/sepolicy/treble_app.te +++ b/sepolicy/treble_app.te @@ -7,3 +7,7 @@ allow system_app sysfs_batteryinfo:file rw_file_perms; type vendor_camera_prop, property_type; set_prop(system_app, vendor_camera_prop); + +#Used to control double-tap-to-wake on Xiaomi +allow system_app input_device:chr_file rw_file_perms; +allow system_app input_device:dir r_dir_perms;