diff options
author | Chih-Chung Chang <chihchung@google.com> | 2010-06-14 19:15:00 +0800 |
---|---|---|
committer | Chih-Chung Chang <chihchung@google.com> | 2010-06-28 11:12:45 +0800 |
commit | de1057c4a6aa41c3b88bcc4fd49d70f973f1d9eb (patch) | |
tree | d790c64dacf493c1557163754573cba9303b6b9d /data/etc | |
parent | 9005e7f4297a3f04263e81cb61ba2703d5667b0a (diff) | |
download | frameworks_base-de1057c4a6aa41c3b88bcc4fd49d70f973f1d9eb.zip frameworks_base-de1057c4a6aa41c3b88bcc4fd49d70f973f1d9eb.tar.gz frameworks_base-de1057c4a6aa41c3b88bcc4fd49d70f973f1d9eb.tar.bz2 |
Unhide new API for supporting multiple cameras.
Change-Id: I916a536c80330444a15986ba380205a6deed2390
Diffstat (limited to 'data/etc')
-rw-r--r-- | data/etc/android.hardware.camera.front.xml | 20 | ||||
-rw-r--r-- | data/etc/handheld_core_hardware.xml | 2 |
2 files changed, 22 insertions, 0 deletions
diff --git a/data/etc/android.hardware.camera.front.xml b/data/etc/android.hardware.camera.front.xml new file mode 100644 index 0000000..a5a6998 --- /dev/null +++ b/data/etc/android.hardware.camera.front.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 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 front facing camera. --> +<permissions> + <feature name="android.hardware.camera.front" /> +</permissions> diff --git a/data/etc/handheld_core_hardware.xml b/data/etc/handheld_core_hardware.xml index 564fa84..efca4c2 100644 --- a/data/etc/handheld_core_hardware.xml +++ b/data/etc/handheld_core_hardware.xml @@ -35,6 +35,8 @@ <!-- devices with an autofocus camera and/or flash must include either android.hardware.camera.autofocus.xml or android.hardware.camera.autofocus-flash.xml --> + <!-- devices with a front facing camera must include + android.hardware.camera.front.xml --> <!-- devices with WiFi must also include android.hardware.wifi.xml --> <!-- devices with limited/gestural multitouch must also include android.hardware.touchscreen.multitouch.xml --> |