factory: udfps: Configure permission for display file node.

Configure permission to get display DDIC chip id.

Bug: 228302164
Bug: 250740167
Test: Performed UDFPS calibration on SB3
Test: Verified the correct cali file was generated under /data/device_cali/
Change-Id: If629ce3a954252bf84e5ea20f54a5adbf1491db2
This commit is contained in:
Kris Chen 2022-10-13 17:37:30 +08:00
parent d44db54ce4
commit 962b33e652

View file

@ -958,6 +958,8 @@ on property:vendor.disable.bcl.control=0
on post-fs-data && property:ro.vendor.factory=1
# HBM mode for UDFPS factory apk
chmod 666 /d/dri/0/DSI-1/panel/reg/payload
chmod 666 /d/dri/0/DSI-1/panel/reg/count
chmod 666 /d/dri/0/DSI-1/panel/reg/address
chmod 666 /d/dri/0/DSI-1/panel/hbm_mode
chmod 666 /sys/class/backlight/panel0-backlight/local_hbm_max_timeout
chmod 666 /sys/class/backlight/panel0-backlight/local_hbm_mode