summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-09-29 22:48:55 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-09-29 22:48:55 +0000
commit1e6a7cd0525fa7dc070132b95fbf355a4100c695 (patch)
treead0f407f09aa95dc32cda13ba399cef91da44df8
parentd27c2cbc93e365caf698eb14b5e6b88ffbf8fb6c (diff)
parent90969667d603490b31fb09a84dd5110257422ee8 (diff)
downloaddevice_google_taimen-1e6a7cd0525fa7dc070132b95fbf355a4100c695.tar.gz
device_google_taimen-1e6a7cd0525fa7dc070132b95fbf355a4100c695.tar.bz2
device_google_taimen-1e6a7cd0525fa7dc070132b95fbf355a4100c695.zip
Merge cherrypicks of [2986368] into oc-mr1-release
Change-Id: I465775b106e1f9541a005f4dc72d3ee1712e69ce
-rw-r--r--init-taimen.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/init-taimen.rc b/init-taimen.rc
index 127abf6..6a19881 100644
--- a/init-taimen.rc
+++ b/init-taimen.rc
@@ -28,6 +28,10 @@ on boot
# Allow ftm4 autotune from adb shell
chown system shell /sys/devices/virtual/input/ftm4_touch/autotune
+on init
+ # Disable system-pc idle to prevent touch drops [b/64141048]
+ write /sys/module/lpm_levels/system/system-pc/idle_enabled N
+
on init && property:ro.boot.revision=*
setprop ro.boot.hardware.revision ${ro.boot.revision}