Merge "Start serial console at the 'init' trigger"
am: c70fc1cbfd

Change-Id: I18b1fc5fb667d4938e9d2a8fb9098444ef53259b
diff --git a/rootdir/init.rc b/rootdir/init.rc
index ea8ae67..afa1a86 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -878,6 +878,8 @@
     chmod 0773 /data/misc/trace
     # Give reads to anyone for the window trace folder on debug builds.
     chmod 0775 /data/misc/wmtrace
+
+on init && property:ro.debuggable=1
     start console
 
 service flash_recovery /system/bin/install-recovery.sh