HACK: hikey/hikey960: Disable nonblocking_ffs to avoid recent crashes with adbd am: cadc87f48b am: 4399836953
am: a7bf1c2f0b
Change-Id: I62e5731ba63cb30a380896ab800d0bcec1d43a9c
diff --git a/init.common.rc b/init.common.rc
index 6d66ca7..5950f61 100644
--- a/init.common.rc
+++ b/init.common.rc
@@ -59,6 +59,10 @@
# 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