diff options
author | Jay Shrauner <shrauner@google.com> | 2014-05-02 13:54:23 -0700 |
---|---|---|
committer | Jay Shrauner <shrauner@google.com> | 2014-05-02 13:54:23 -0700 |
commit | 8110b4e966a305cfa383deea2509d182f8ff0374 (patch) | |
tree | ab490f18b577b79890f787fc3f785c249cbef6e2 /res/values | |
parent | a53b7d0cefc73c63ac83708dfc4b554bdf01b1b6 (diff) | |
download | Exchange-8110b4e966a305cfa383deea2509d182f8ff0374.tar.gz |
Don't crash on settings call when Email disabled
DataUsage in system settings jumps in to Exchange settings, which redirects
to Email settings. Catch exception thrown when the Email app is disabled and
display a Toast indicating the problem to the user.
Bug:14494021
Change-Id: I163f10c46d3857a38428ec8c5f1d48708a1e2ba9
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/strings.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 86e8d374..25d5ec57 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -205,4 +205,7 @@ <!-- text for notification warning about an authentication error [CHAR LIMIT=60] --> <string name="auth_error_notification_text">Touch to edit account settings for <xliff:g id="account">%s</xliff:g></string> + <!-- Message displayed when there is no application to handle the settings option. [CHAR LIMIT=NONE] --> + <string name="email_settings_not_available">Re-enable the Email application to view settings.</string> + </resources> |