summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2011-05-30 20:03:37 +0800
committerWu-cheng Li <wuchengli@google.com>2011-06-17 11:21:27 +0800
commitdfb6f208e3f5dd7d68bcaade644aa1d1f1f0a98f (patch)
tree27c1c0cfe663fa38f052f6da0a0ecfd48dea408d /res
parent84a4d3eb7c9a3e33e1898729a66671332fe81577 (diff)
downloadLegacyCamera-dfb6f208e3f5dd7d68bcaade644aa1d1f1f0a98f.zip
LegacyCamera-dfb6f208e3f5dd7d68bcaade644aa1d1f1f0a98f.tar.gz
LegacyCamera-dfb6f208e3f5dd7d68bcaade644aa1d1f1f0a98f.tar.bz2
Check if device policay manager has disabled camera.
Show the corresponding message if that is the case. bug:4185309 Change-Id: I0f4a5ac577f13331685f8e7343bab6317f96c3d8
Diffstat (limited to 'res')
-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 8464613..1f4a1d3 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -22,6 +22,9 @@
<!-- message for the dialog showing the error of camera hardware -->
<string name="cannot_connect_camera">Cannot connect to camera.</string>
+ <!-- message for the dialog showing the camera is disabled because of security policies. Camera cannot be used. -->
+ <string name="camera_disabled">Camera has been disabled because of security policies.</string>
+
<!-- label for the icon meaning 'show me all the images that were taken with the camera' -->
<string name="camera_label">Camera</string>