summaryrefslogtreecommitdiffstats
path: root/res/values/strings.xml
diff options
context:
space:
mode:
authorkaiyiz <kaiyiz@codeaurora.org>2014-11-27 10:35:11 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2014-11-28 04:16:19 -0800
commitf6b2aac9b74b407c5cf1bfffbb578ed8efac358a (patch)
treeef6e5ba82256f96769fd70a31f852023558b0913 /res/values/strings.xml
parentf8e3352ea6759dd760f28017c4789a20731e2ee4 (diff)
downloadandroid_packages_apps_Gallery2-f6b2aac9b74b407c5cf1bfffbb578ed8efac358a.tar.gz
android_packages_apps_Gallery2-f6b2aac9b74b407c5cf1bfffbb578ed8efac358a.tar.bz2
android_packages_apps_Gallery2-f6b2aac9b74b407c5cf1bfffbb578ed8efac358a.zip
Gallery2: fix app crash when there is no map app
ActivityNotFoundException happened after click showOnMap menu when there is no map app. Catch the Exception to avoid app crash. CRs-Fixed: 753928 Change-Id: I7d811e4a636bed22935fcc050d97559ace44eb31
Diffstat (limited to 'res/values/strings.xml')
-rw-r--r--res/values/strings.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 405b0b3fc..7f347a1d6 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -1104,6 +1104,9 @@ CHAR LIMIT = NONE] -->
<!-- Positive answer for first run dialog asking if the user wants to remember photo locations [CHAR LIMIT = 20] -->
<string name="remember_location_yes">Yes</string>
+ <!-- The message is shown in toast when click showOnMap Menu and there is no map app -->
+ <string name="map_activity_not_found_err">There is no map app for show location.</string>
+
<!-- Menu item to launch the camera app [CHAR LIMIT=25] -->
<string name="menu_camera">Camera</string>
<!-- Menu item to search for photos [CHAR LIMIT=25] -->