summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-09-20 07:43:04 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-09-20 07:43:04 +0000
commit319cdd39e4fea4106ca29d1e80e2e0e27a534767 (patch)
treee815d8138a34c939869f35a22338e55621a59ed7
parent9dfa90227b768b1b5d1c246867a24c2d9ae9455f (diff)
parent645a109bfd0fbe90cee110324c024190e5b13151 (diff)
release-request-42a2a3ad-8c90-4c84-a0ad-5d067beb8e30-for-git_oc-mr1-release-4349323 snap-temp-L16100000104414353
Change-Id: I3e9e14f5eb59f7fe08f91fdeae3f2e34ab7750fd
-rw-r--r--init-common.rc3
-rw-r--r--init.logging.userdebug.rc3
2 files changed, 3 insertions, 3 deletions
diff --git a/init-common.rc b/init-common.rc
index 2b5db77..ca1f526 100644
--- a/init-common.rc
+++ b/init-common.rc
@@ -39,3 +39,6 @@ on init && property:ro.boot.revision=MP0 # PVT
on init && property:ro.boot.revision=MP1
setprop ro.boot.hardware.revision 1.0
+
+on boot && property:ro.build.type=userdebug
+ write /sys/class/uio/uio1/device/rtel/rtel 1
diff --git a/init.logging.userdebug.rc b/init.logging.userdebug.rc
index 3d8e5eb..7cc6645 100644
--- a/init.logging.userdebug.rc
+++ b/init.logging.userdebug.rc
@@ -1,6 +1,3 @@
-on boot
- write /sys/class/uio/uio1/device/rtel/rtel 1
-
on post-fs-data
# SM DUMP logging collection
mkdir /data/vendor/modem_dump 0777 system system