[xiaomi] Use persist.sys.phh.xiaomi.dt2w prop to control DT2W
This commit is contained in:
parent
49a11c444d
commit
78db250470
1
base.mk
1
base.mk
@ -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 += \
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user