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 11:43:53 -0700
commit72b9113d2651547949d5483fce3217945b28c7ae (patch)
treef17e78c163b537ec76a0c244ca6a9ce050f73b36 /data
parentc6e0c64632bdf9183b90307f1a39bd6d83e6a978 (diff)
downloadframeworks_native-72b9113d2651547949d5483fce3217945b28c7ae.zip
frameworks_native-72b9113d2651547949d5483fce3217945b28c7ae.tar.gz
frameworks_native-72b9113d2651547949d5483fce3217945b28c7ae.tar.bz2
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>