Skip to content

Commit

Permalink
Add android.hardware.camera.any feature to camera permissions.
Browse files Browse the repository at this point in the history
Bug: 6847310
Change-Id: I9283932a7c211cd08b3b9fe6a93d8f219e6c9767
  • Loading branch information
Eino-Ville Talvala committed Sep 23, 2012
1 parent ff28e20 commit e958227
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions data/etc/android.hardware.camera.autofocus.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
1 change: 1 addition & 0 deletions data/etc/android.hardware.camera.flash-autofocus.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand Down
1 change: 1 addition & 0 deletions data/etc/android.hardware.camera.front.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
1 change: 1 addition & 0 deletions data/etc/android.hardware.camera.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit e958227

Please sign in to comment.