Snap for 7223902 from 9051326f6c to tm-release

Change-Id: Id06aca05ab48841be0e5150415ce76d37ac8a5c1
This commit is contained in:
android-build-team Robot 2021-03-21 01:00:57 +00:00
commit 93e65dabdf
2 changed files with 8 additions and 0 deletions

View file

@ -31,6 +31,10 @@ on fs
# Start the twoshay touch service # Start the twoshay touch service
start twoshay start twoshay
# LHBM
# FIXME(b/183223359): Only grant write access to SystemUI.
chmod 0666 /sys/class/drm/card0/card0-DSI-1/panel/backlight/panel0-backlight/local_hbm_mode
# Toggle glove_mode according to touch_sensitivity_mode # Toggle glove_mode according to touch_sensitivity_mode
on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_completed=1 on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_completed=1
write /sys/class/spi_master/spi11/spi11.0/glove_mode 00 write /sys/class/spi_master/spi11/spi11.0/glove_mode 00

View file

@ -31,6 +31,10 @@ on fs
# Face # Face
exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/faceauth.app exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/faceauth.app
# LHBM
# FIXME(b/183223359): Only grant write access to SystemUI.
chmod 0666 /sys/class/drm/card0/card0-DSI-1/panel/backlight/panel0-backlight/local_hbm_mode
on property:mfgapi.touchpanel.permission=1 on property:mfgapi.touchpanel.permission=1
chmod 0600 /sys/devices/virtual/sec/tsp/cmd chmod 0600 /sys/devices/virtual/sec/tsp/cmd
chown system system /sys/devices/virtual/sec/tsp/cmd chown system system /sys/devices/virtual/sec/tsp/cmd