summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorSai Kumar Sanagavarapu <ssanagav@codeaurora.org>2015-03-20 11:50:19 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2015-03-26 22:06:43 -0700
commita70d2697103d1dd667aa0f067d263b75fe65c53c (patch)
treeb0b26caf9166a0eee7bb60bb6af10cc873791e75 /res
parentd343fc2bef002a3ceb4c3414fdac57c4bae11c59 (diff)
downloadandroid_packages_apps_Snap-a70d2697103d1dd667aa0f067d263b75fe65c53c.tar.gz
android_packages_apps_Snap-a70d2697103d1dd667aa0f067d263b75fe65c53c.tar.bz2
android_packages_apps_Snap-a70d2697103d1dd667aa0f067d263b75fe65c53c.zip
SnapdragonCamera: Handle Camera device errors gracefully.
Handle Camera device errors from lower layers gracefully by finishing the activity and there by closing camera session and app. Also, display a toast message signifying the error because of which camera app is being shutdown. Change-Id: I86c4caf174356148bd4725329ea13ec82e944b94
Diffstat (limited to 'res')
-rw-r--r--res/values/qcomstrings.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/res/values/qcomstrings.xml b/res/values/qcomstrings.xml
index 5bab9841b..0742577fc 100644
--- a/res/values/qcomstrings.xml
+++ b/res/values/qcomstrings.xml
@@ -886,5 +886,9 @@
<string name="text_tsmakeup_alert_quit">Quit</string>
<string name="all_in_focus">All in Focus</string>
+
+ <string name="camera_thermal_shutdown">Phone overheated, closing camera.</string>
+ <string name="camera_server_died">Media server died, closing camera.</string>
+ <string name="camera_unknown_error">Unknown error, closing camera.</string>
</resources>