sm6150-common: livedisplay: Rename AntiFlicker node
Change-Id: I563b4de02ae41755d707da84bc1bbf937228b68c Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
This commit is contained in:
parent
4adb3b01a4
commit
8470910084
@ -29,7 +29,7 @@ namespace V2_1 {
|
||||
namespace implementation {
|
||||
|
||||
static constexpr const char* kAntiFlickerStatusPath =
|
||||
"/sys/devices/platform/soc/soc:qcom,dsi-display/dc_enable";
|
||||
"/sys/devices/platform/soc/soc:qcom,dsi-display/anti_flicker";
|
||||
|
||||
Return<bool> AntiFlicker::isEnabled() {
|
||||
std::string buf;
|
||||
|
@ -1,8 +1,8 @@
|
||||
on boot
|
||||
chown system system /sys/devices/platform/soc/soc:qcom,dsi-display/dc_enable
|
||||
chown system system /sys/devices/platform/soc/soc:qcom,dsi-display/anti_flicker
|
||||
chown system system /sys/devices/platform/soc/soc:qcom,dsi-display/hbm
|
||||
|
||||
chmod 0660 /sys/devices/platform/soc/soc:qcom,dsi-display/dc_enable
|
||||
chmod 0660 /sys/devices/platform/soc/soc:qcom,dsi-display/anti_flicker
|
||||
chmod 0660 /sys/devices/platform/soc/soc:qcom,dsi-display/hbm
|
||||
|
||||
service vendor.livedisplay-hal-2-1 /vendor/bin/hw/vendor.lineage.livedisplay@2.1-service.xiaomi_sm6150
|
||||
|
2
sepolicy/vendor/file_contexts
vendored
2
sepolicy/vendor/file_contexts
vendored
@ -22,7 +22,7 @@
|
||||
# Display
|
||||
/dev/xiaomi-touch u:object_r:touchfeature_device:s0
|
||||
/sys/devices/platform/soc/[a-f0-9]+.qcom,mdss_mdp/drm/card([0-3])+/card([0-3])+-DSI-1/panel_info u:object_r:vendor_sysfs_graphics:s0
|
||||
/sys/devices/platform/soc/soc:qcom,dsi-display/dc_enable u:object_r:sysfs_anti_flicker:s0
|
||||
/sys/devices/platform/soc/soc:qcom,dsi-display/anti_flicker u:object_r:sysfs_anti_flicker:s0
|
||||
/sys/devices/platform/soc/soc:qcom,dsi-display/fod_ui u:object_r:vendor_sysfs_fod:s0
|
||||
/sys/devices/platform/soc/soc:qcom,dsi-display/hbm u:object_r:sysfs_hbm:s0
|
||||
/sys/devices/platform/soc/soc:qcom,dsi-display/doze_mode u:object_r:sysfs_doze:s0
|
||||
|
Loading…
Reference in New Issue
Block a user