From ab932147aa03d4621704bd7c6ce4b74ae5bb548d Mon Sep 17 00:00:00 2001 From: Salvador Martinez Date: Mon, 10 Apr 2017 11:18:31 -0700 Subject: Added strings for thermal shutdown warning Strings for thermal shutdown warning were missing so this CL adds them and a proto message value. Test: SysUI tests still pass Bug: 30994946 Change-Id: Ifd0b26248c2ebae5bcf32ecbea2566c14be7dc32 --- packages/SystemUI/res/values/strings.xml | 7 +++++++ proto/src/system_messages.proto | 3 +++ 2 files changed, 10 insertions(+) diff --git a/packages/SystemUI/res/values/strings.xml b/packages/SystemUI/res/values/strings.xml index 7bd9526cb274..be2f8d166494 100644 --- a/packages/SystemUI/res/values/strings.xml +++ b/packages/SystemUI/res/values/strings.xml @@ -1895,6 +1895,13 @@ Default + + Phone turned off due to heat + + Your phone is now running normally + + Your phone was too hot, so it turned off to cool down. Your phone is now running normally.\n\nYour phone may get too hot if you:\n\t• Use resource-intensive apps (such as gaming, video, or navigation apps)\n\t• Download or upload large files\n\t• Use your phone in high temperatures + Phone is getting warm diff --git a/proto/src/system_messages.proto b/proto/src/system_messages.proto index c4a28313ed0a..65cc17eec6bd 100644 --- a/proto/src/system_messages.proto +++ b/proto/src/system_messages.proto @@ -173,6 +173,9 @@ message SystemMessage { // Package: android NOTE_ACCOUNT_CREDENTIAL_PERMISSION = 38; + // Inform the user their phone recently shut down due to high temperature + NOTE_THERMAL_SHUTDOWN = 39; + // 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 -- cgit v1.2.3-59-g8ed1b