summaryrefslogtreecommitdiff
path: root/proto/src
diff options
context:
space:
mode:
authorWei Wang <wvw@google.com>2019-09-24 20:55:15 -0700
committerWei Wang <wvw@google.com>2019-09-25 21:41:37 +0000
commit69df1cf48967c4d3c6090a7648b700213d6868c6 (patch)
treec8f1660ca1d519ad4e46de9128d8c1a891f2f3a8 /proto/src
parenta904e8d2083f4ca1fc7f2a89f7bc745404d218f0 (diff)
Add a notification when console is active
Performance is largely impacted when console is running, and device should not ship with that configuration. Moreover, we have seen cases, when performance of new features was tested with UART on. This CL adds a notification when console service is active indicating UART is on. Fixes: 119623211 Test: Enable UART and see warning after boot Test: Disable UART and no warning Change-Id: Ie60f763088a15608027986ac855466eb7fc97264
Diffstat (limited to 'proto/src')
-rw-r--r--proto/src/system_messages.proto4
1 files changed, 4 insertions, 0 deletions
diff --git a/proto/src/system_messages.proto b/proto/src/system_messages.proto
index ffbf1ae38635..5d6d1c993cd3 100644
--- a/proto/src/system_messages.proto
+++ b/proto/src/system_messages.proto
@@ -230,6 +230,10 @@ message SystemMessage {
// Package: android
NOTE_TEST_HARNESS_MODE_ENABLED = 54;
+ // Inform the user that Serial Console is active.
+ // Package: android
+ NOTE_SERIAL_CONSOLE_ENABLED = 55;
+
// ADD_NEW_IDS_ABOVE_THIS_LINE
// Legacy IDs with arbitrary values appear below
// Legacy IDs existed as stable non-conflicting constants prior to the O release