diff options
author | Yorke Lee <yorkelee@google.com> | 2014-04-07 15:39:48 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-04-07 15:39:48 -0700 |
commit | 3921359f3f01938768f0b0e731941542f0385787 (patch) | |
tree | c8265ba2f31618b1ec5bb764ef374545c2b43347 /res | |
parent | ea8fa952d9024a136a401b5c1cf6a546c870d81f (diff) |
Catch activity not found exceptions
Instead of crashing when an ActivityNotFoundException is thrown,
display an error toast.
Bug: 13882939
Change-Id: I5cda14ba8a404ff0f5196fdbc382201c47f4b4c8
Diffstat (limited to 'res')
-rw-r--r-- | res/values/strings.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index ce08ae5b5..c608273ff 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -612,6 +612,14 @@ <!-- Message displayed when there is no application available to handle voice search. [CHAR LIMIT=NONE] --> <string name="voice_search_not_available">Voice search is not available.</string> + <!-- Message displayed when the Phone application has been disabled and a phone call cannot + be made. [CHAR LIMIT=NONE] --> + <string name="call_not_available">Cannot make a phone call because the Phone application has been disabled.</string> + + <!-- Message displayed when there is no application available to handle a particular action. + [CHAR LIMIT=NONE] --> + <string name="activity_not_available">No installed activity available to handle selected action.</string> + <!-- Hint displayed in dialer search box when there is no query that is currently typed. [CHAR LIMIT=30] --> <string name="dialer_hint_find_contact">Type a name or phone number</string> |