gs101: support touch sensitivity mode switching
Route a debug system property to a persist system property to control the touch driver attribute file glove_mode. 0: default sensitivity mode (default) 1: high sensitivity mode Bug: 173330977 Bug: 174189638 Bug: 174191024 Test: manual test Signed-off-by: Tai Kuo <taikuo@google.com> Change-Id: Ia54ea2b84340c34943809373b87c31604d2ae478
This commit is contained in:
parent
11c87a5851
commit
23ac737b41
1 changed files with 7 additions and 0 deletions
|
@ -535,6 +535,13 @@ on property:vendor.device.modules.ready=1
|
|||
chown system system /sys/devices/virtual/sec/tsp/cmd_result
|
||||
chown system system /sys/devices/virtual/sec/tsp/status
|
||||
|
||||
# Route touch_sensitivity_mode to persist
|
||||
on property:debug.touch_sensitivity_mode=0
|
||||
setprop persist.vendor.touch_sensitivity_mode 0
|
||||
|
||||
on property:debug.touch_sensitivity_mode=1
|
||||
setprop persist.vendor.touch_sensitivity_mode 1
|
||||
|
||||
on property:init.svc.vendor.charger=running
|
||||
stop keymaster-4-0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue