[xiaomi] Use persist.sys.phh.xiaomi.dt2w prop to control DT2W

This commit is contained in:
Michael Cheah 2020-03-26 09:44:58 +08:00 committed by tboy1991
parent 49a11c444d
commit 78db250470
2 changed files with 1 additions and 4 deletions

View File

@ -56,6 +56,7 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
device/phh/treble/rw-system.sh:system/bin/rw-system.sh \
device/phh/treble/phh-prop-handler.sh:system/bin/phh-prop-handler.sh \
device/phh/treble/fixSPL/getSPL.arm:system/bin/getSPL
PRODUCT_COPY_FILES += \

View File

@ -8,10 +8,6 @@ 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;
type hal_ext_fingerprint_hwservice, hwservice_manager_type;
allow system_app hal_ext_fingerprint_hwservice:hwservice_manager { find };
type hal_fingerprint_default, domain;