summaryrefslogtreecommitdiff
path: root/init.common.rc
diff options
context:
space:
mode:
Diffstat (limited to 'init.common.rc')
-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