summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2019-03-19 21:15:49 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-03-19 21:15:49 -0700
commit4399836953542e014b8dde25185eb6399d05351f (patch)
treeaf4e73aa484e0dcd7927df133bf22947d2c34320
parent69e33b87a93eafb2ead589837216422d1942c2bd (diff)
parentcadc87f48b0bbafa4aaf1799b109bc6f7df7849e (diff)
downloadhikey-4399836953542e014b8dde25185eb6399d05351f.tar.gz
HACK: hikey/hikey960: Disable nonblocking_ffs to avoid recent crashes with adbd
am: cadc87f48b Change-Id: I232cfdb6ac55af2b835a33a082bd594886f39769
-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