summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2019-03-19 21:28:03 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-03-19 21:28:03 -0700
commit046617421a5dd768997bf37ebcd7c08e7dac7919 (patch)
treedab3f1b5f2703881bc6e8be52fc2b2cf1d8c0256
parent7484f8a62a5bfed3829c129c0156152a38e8d0f2 (diff)
parenta7bf1c2f0b93997e23581534f037854fc6508b2c (diff)
downloadhikey-046617421a5dd768997bf37ebcd7c08e7dac7919.tar.gz
HACK: hikey/hikey960: Disable nonblocking_ffs to avoid recent crashes with adbd am: cadc87f48b am: 4399836953
am: a7bf1c2f0b Change-Id: I62e5731ba63cb30a380896ab800d0bcec1d43a9c
-rw-r--r--init.common.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.common.rc b/init.common.rc
index 6d66ca7f..5950f615 100644
--- a/init.common.rc
+++ b/init.common.rc
@@ -59,6 +59,10 @@ on post-fs
# If an app forces screen rotation, revert it once the apps closes
setprop persist.demo.rotationlock 1
+# avoid USB crash
+ setprop persist.adb.nonblocking_ffs 0
+ setprop ro.adb.nonblocking_ffs 0
+
# enable Google-specific location features,
# like NetworkLocationProvider and LocationCollector
setprop ro.com.google.locationfeatures 1