From ab7bfdbfebf4fa064e46e362a7c6c267f2fee99d Mon Sep 17 00:00:00 2001 From: Gillian Lin Date: Wed, 7 Dec 2022 03:18:09 +0000 Subject: [PATCH] factory: default disable tap gesture function Set persist.sys.tap_gesture=0 for factory target to disable tap to check phone by default. Bug: 261542166 Test: import rc to check tap to wake was not functional Change-Id: Ia9075f820a944d9f7035edf350816044abd1b9d1 --- conf/init.tangorpro.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/init.tangorpro.rc b/conf/init.tangorpro.rc index 8d02002..ee9cf88 100644 --- a/conf/init.tangorpro.rc +++ b/conf/init.tangorpro.rc @@ -69,6 +69,7 @@ on property:vendor.all.modules.ready=1 && property:persist.sys.tap_gesture=0 on property:vendor.all.modules.ready=1 && property:ro.build.flavor=factory_tangorpro-userdebug write /sys/devices/virtual/goog_touch_interface/gti.0/v4l2_enabled 0 write /sys/devices/virtual/goog_touch_interface/gti.0/offload_enabled 0 + setprop persist.sys.tap_gesture 0 # Start the twoshay touch service on property:vendor.device.modules.ready=1