Add permissions & sepolicy for HBM
* Devices with AMOLED panels use HBM instead of SRE Change-Id: I6710e038997b04d5d7d6b5f4f6b01d3f18b4750f
This commit is contained in:
parent
13b02ff101
commit
3ada201b05
2 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue