mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-01-29 08:04:44 +00:00
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
11 lines
475 B
Plaintext
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
|