diff --git a/prebuilt/common/etc/init.local.rc b/prebuilt/common/etc/init.local.rc index 42c535fe..101280e1 100644 --- a/prebuilt/common/etc/init.local.rc +++ b/prebuilt/common/etc/init.local.rc @@ -122,6 +122,8 @@ on boot chmod 0660 /sys/devices/virtual/graphics/fb0/aco chown system system /sys/devices/virtual/graphics/fb0/cabc chmod 0660 /sys/devices/virtual/graphics/fb0/cabc + chown system system /sys/devices/virtual/graphics/fb0/hbm + chmod 0660 /sys/devices/virtual/graphics/fb0/hbm chown system system /sys/devices/virtual/graphics/fb0/rgb chmod 0660 /sys/devices/virtual/graphics/fb0/rgb chown system system /sys/devices/virtual/graphics/fb0/sre diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index b856ecc0..1e58f145 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -39,6 +39,7 @@ # LiveDisplay /sys/devices/virtual/graphics/fb0/aco u:object_r:livedisplay_sysfs:s0 /sys/devices/virtual/graphics/fb0/cabc u:object_r:livedisplay_sysfs:s0 +/sys/devices/virtual/graphics/fb0/hbm u:object_r:livedisplay_sysfs:s0 /sys/devices/virtual/graphics/fb0/rgb u:object_r:livedisplay_sysfs:s0 /sys/devices/virtual/graphics/fb0/sre u:object_r:livedisplay_sysfs:s0 /sys/devices/virtual/graphics/fb0/color_enhance u:object_r:livedisplay_sysfs:s0