forked from LineageOS/android_device_google_wahoo
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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/[email protected]::IVr_default.txt Bug: 72644266 Bug: 72071908 Change-Id: I752c98ec88975a45eda19e72aed24df1a9fef2ba
- Loading branch information
1 parent
353ce79
commit c58ae4e
Showing
4 changed files
with
47 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,9 @@ service vendor.vr-wahoo-1-0 /vendor/bin/hw/[email protected] | |
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 |