sm6150-common: livedisplay: Renamed AntiFlicker node
Change-Id: I9951abe702730435f840bf041b8cbcf3839fae79
This commit is contained in:
parent
83f9791ee2
commit
afb4a21c3f
@ -29,7 +29,7 @@ namespace V2_0 {
|
||||
namespace implementation {
|
||||
|
||||
static constexpr const char* kAntiFlickerStatusPath =
|
||||
"/sys/devices/platform/soc/soc:qcom,dsi-display/msm_fb_ea_enable";
|
||||
"/sys/devices/platform/soc/soc:qcom,dsi-display/dc_enable";
|
||||
|
||||
Return<bool> AntiFlicker::isEnabled() {
|
||||
std::string buf;
|
||||
|
@ -1,9 +1,9 @@
|
||||
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/hbm
|
||||
chown system system /sys/devices/platform/soc/soc:qcom,dsi-display/msm_fb_ea_enable
|
||||
|
||||
chmod 0660 /sys/devices/platform/soc/soc:qcom,dsi-display/dc_enable
|
||||
chmod 0660 /sys/devices/platform/soc/soc:qcom,dsi-display/hbm
|
||||
chmod 0660 /sys/devices/platform/soc/soc:qcom,dsi-display/msm_fb_ea_enable
|
||||
|
||||
service vendor.livedisplay-hal-2-0 /vendor/bin/hw/vendor.lineage.livedisplay@2.0-service.xiaomi_sm6150
|
||||
class hal
|
||||
|
2
sepolicy/vendor/file_contexts
vendored
2
sepolicy/vendor/file_contexts
vendored
@ -3,8 +3,8 @@
|
||||
|
||||
# Display
|
||||
/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/hbm u:object_r:sysfs_hbm:s0
|
||||
/sys/devices/platform/soc/soc:qcom,dsi-display/msm_fb_ea_enable u:object_r:sysfs_anti_flicker:s0
|
||||
|
||||
# Fingerprint
|
||||
/dev/goodix_fp u:object_r:fingerprint_device:s0
|
||||
|
Loading…
Reference in New Issue
Block a user