mirror of
https://github.com/zxing/zxing.git
synced 2025-01-12 11:47:26 -08:00
To support front-camera devices like the Nexus 7, don't require (rear) camera
git-svn-id: https://zxing.googlecode.com/svn/trunk@2398 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
82ab2cd2cd
commit
9c3924fbc1
|
@ -33,7 +33,9 @@
|
|||
<uses-sdk android:minSdkVersion="7"
|
||||
android:targetSdkVersion="10"/>
|
||||
|
||||
<uses-feature android:name="android.hardware.camera"/>
|
||||
<!-- Don't require camera, as this requires a rear camera. This allows it to work on the Nexus 7 -->
|
||||
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
||||
<uses-feature android:name="android.hardware.camera.front" android:required="false"/>
|
||||
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
||||
<uses-feature android:name="android.hardware.camera.flash" android:required="false"/>
|
||||
<uses-feature android:name="android.hardware.screen.landscape"/>
|
||||
|
|
Loading…
Reference in a new issue