Allow treble_app to control /dev/input/eventX (useful to enable dt2w)

This commit is contained in:
Pierre-Hugues Husson 2019-12-01 17:02:12 +01:00
parent 07632a8291
commit b701c84f58
1 changed files with 4 additions and 0 deletions

View File

@ -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;