summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorYin-Chia Yeh <yinchiayeh@google.com>2014-11-13 10:08:20 -0800
committerYin-Chia Yeh <yinchiayeh@google.com>2014-11-13 10:08:20 -0800
commit431784accf1ef284eb995d046c2ae25c53cd8f52 (patch)
treec9db5e745c4f8a4ccf48ff4bef899e2e4c1d6bf5 /data
parentca69e8f2d0a1fc963bd170f9b2bf164028761323 (diff)
downloadframeworks_native-431784accf1ef284eb995d046c2ae25c53cd8f52.zip
frameworks_native-431784accf1ef284eb995d046c2ae25c53cd8f52.tar.gz
frameworks_native-431784accf1ef284eb995d046c2ae25c53cd8f52.tar.bz2
Add XML files for new camera2 hardware features
Bug: 18276863 Change-Id: I65fa70e5ee2e9b90f819ca39f933279905b37f38
Diffstat (limited to 'data')
-rw-r--r--data/etc/android.hardware.camera.manual_postprocessing.xml21
-rw-r--r--data/etc/android.hardware.camera.manual_sensor.xml21
2 files changed, 42 insertions, 0 deletions
diff --git a/data/etc/android.hardware.camera.manual_postprocessing.xml b/data/etc/android.hardware.camera.manual_postprocessing.xml
new file mode 100644
index 0000000..01796be
--- /dev/null
+++ b/data/etc/android.hardware.camera.manual_postprocessing.xml
@@ -0,0 +1,21 @@
+<?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 set of features required for a camera2 device that supports manual postprocessing capability -->
+<permissions>
+ <feature name="android.hardware.camera.any" />
+ <feature name="android.hardware.camera.capability.manual_post_processing" />
+</permissions>
diff --git a/data/etc/android.hardware.camera.manual_sensor.xml b/data/etc/android.hardware.camera.manual_sensor.xml
new file mode 100644
index 0000000..57db5ab
--- /dev/null
+++ b/data/etc/android.hardware.camera.manual_sensor.xml
@@ -0,0 +1,21 @@
+<?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 set of features required for a camera2 device that supports manual sensor capability-->
+<permissions>
+ <feature name="android.hardware.camera.any" />
+ <feature name="android.hardware.camera.capability.manual_sensor" />
+</permissions>