OSDN Git Service

Add android.hardware.camera.any feature to camera permissions.
authorEino-Ville Talvala <etalvala@google.com>
Sun, 23 Sep 2012 16:42:12 +0000 (09:42 -0700)
committerEino-Ville Talvala <etalvala@google.com>
Sun, 23 Sep 2012 16:53:51 +0000 (09:53 -0700)
Bug: 6847310
Change-Id: I9283932a7c211cd08b3b9fe6a93d8f219e6c9767

data/etc/android.hardware.camera.autofocus.xml
data/etc/android.hardware.camera.flash-autofocus.xml
data/etc/android.hardware.camera.front.xml
data/etc/android.hardware.camera.xml

index d6e2b90..bddfd93 100644 (file)
@@ -16,6 +16,7 @@
 
 <!-- This is the standard set of features for an auto-focus camera. -->
 <permissions>
+    <feature name="android.hardware.camera.any" />
     <feature name="android.hardware.camera" />
     <feature name="android.hardware.camera.autofocus" />
 </permissions>
index 55f1900..ab81cd9 100644 (file)
@@ -17,6 +17,7 @@
 <!-- This is the standard set of features for a camera with a flash.  Note
      that this currently requires having auto-focus as well. -->
 <permissions>
+    <feature name="android.hardware.camera.any" />
     <feature name="android.hardware.camera" />
     <feature name="android.hardware.camera.autofocus" />
     <feature name="android.hardware.camera.flash" />
index a5a6998..3dd1855 100644 (file)
@@ -16,5 +16,6 @@
 
 <!-- This is the standard set of features for a front facing camera. -->
 <permissions>
+    <feature name="android.hardware.camera.any" />
     <feature name="android.hardware.camera.front" />
 </permissions>
index 00a1ed7..dbe0a3d 100644 (file)
@@ -16,5 +16,6 @@
 
 <!-- This is the standard set of features for a non auto-focus camera. -->
 <permissions>
+    <feature name="android.hardware.camera.any" />
     <feature name="android.hardware.camera" />
 </permissions>