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

Change-Id: I7e30865212c225fd81047ef5dcb75eb87417d112
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