summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2014-05-08 11:43:53 -0700
committerEino-Ville Talvala <etalvala@google.com>2014-05-08 21:48:57 +0000
commit0b42423c59a12674d954079a9eb1f58a55fc55a6 (patch)
treea1740ddefa58da13a4a01cd49553b73230f144d3 /data
parent19f7cd5c635b295e3e15ca2129a1f24fe9df98ec (diff)
downloadframeworks_native-0b42423c59a12674d954079a9eb1f58a55fc55a6.zip
frameworks_native-0b42423c59a12674d954079a9eb1f58a55fc55a6.tar.gz
frameworks_native-0b42423c59a12674d954079a9eb1f58a55fc55a6.tar.bz2
DO NOT MERGE: Add standard android.hardware.camera.external permission file.
Any device that lists the android.hardware.camera.external feature must also list android.hardware.camera.any feature. Change-Id: I7accd27501e66e99a8addaeed890df709208fd13
Diffstat (limited to 'data')
-rw-r--r--data/etc/android.hardware.camera.external.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/data/etc/android.hardware.camera.external.xml b/data/etc/android.hardware.camera.external.xml
new file mode 100644
index 0000000..a138bcd
--- /dev/null
+++ b/data/etc/android.hardware.camera.external.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2014 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- This is the standard set of features for a Android device that can support
+an external camera being connected to it. -->
+<permissions>
+ <feature name="android.hardware.camera.any" />
+ <feature name="android.hardware.camera.external" />
+</permissions>