Files
device_google_wahoo/vr/android.hardware.vr@1.0-service.wahoo.rc
Wei Wang c58ae4e919 wahoo: VR: Reset setting in runtime crash and add dumpstate support
Reset thermal setting after runtime reboot in VR
Reset touch setting after runtime reboot in VR
Add dump support in VR

Test: Kill system_server during VR session and check thermal and touch settings
Test: Capture bugreport and look at:
      lshal-debug/android.hardware.vr@1.0::IVr_default.txt
Bug: 72644266
Bug: 72071908
Change-Id: I752c98ec88975a45eda19e72aed24df1a9fef2ba
2018-01-30 14:40:08 -08:00

11 lines
475 B
Plaintext

service vendor.vr-wahoo-1-0 /vendor/bin/hw/android.hardware.vr@1.0-service.wahoo
class hal
user system
group system
# reset touch and thermal-engine when framework died and thermal-engine is in VR mode
on property:init.svc.zygote=restarting && property:sys.qcom.thermalcfg=/vendor/etc/thermal-engine-vr.conf
write /sys/devices/virtual/input/ftm4_touch/vrmode 0
setprop sys.qcom.thermalcfg "/vendor/etc/thermal-engine.conf"
restart vendor.thermal-engine