diff options
| -rw-r--r-- | packages/SystemUI/res/values/strings.xml | 7 | ||||
| -rw-r--r-- | proto/src/system_messages.proto | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values/strings.xml b/packages/SystemUI/res/values/strings.xml index d68487ca1b17..eeb28c825ffa 100644 --- a/packages/SystemUI/res/values/strings.xml +++ b/packages/SystemUI/res/values/strings.xml @@ -1895,6 +1895,13 @@ <!-- Tuner string --> <string name="default_theme" translatable="false">Default</string> + <!-- Title for notification & dialog that the user's phone last shut down because it got too hot. [CHAR LIMIT=30] --> + <string name="thermal_shutdown_title">Phone turned off due to heat</string> + <!-- Message body for notification that user's phone last shut down because it got too hot. [CHAR LIMIT=100] --> + <string name="thermal_shutdown_message">Your phone is now running normally</string> + <!-- Text body for dialog alerting user that their phone last shut down bewcause it got too hot. [CHAR LIMIT=300] --> + <string name="thermal_shutdown_dialog_message">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</string> + <!-- Title for notification (and dialog) that user's phone has reached a certain temperature and may start to slow down in order to cool down. [CHAR LIMIT=30] --> <string name="high_temp_title">Phone is getting warm</string> <!-- Message body for notification that user's phone has reached a certain temperature and may start to slow down in order to cool down. [CHAR LIMIT=100] --> 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 |