Skip to content

Commit 54a1ea0

Browse files
committed
Changed android camera permission build hint to use notation that avoids collisions with other cn1libs that also use the same permission.
1 parent fb63173 commit 54a1ea0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

codenameone_library_appended.properties

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
#
55
#Wed Jan 09 17:59:31 IST 2013
66
codename1.arg.android.xapplication=<activity android\:name\="com.dm.zbar.android.scanner.ZBarScannerActivity" android\:screenOrientation\="landscape" android\:label\="@string/app_name" tools\:replace\="android\:label" />
7-
codename1.arg.android.xpermissions=<uses-permission android\:name\="android.permission.CAMERA"/><uses-feature android\:name\="android.hardware.camera" android\:required\="false"/>
7+
codename1.arg.android.xpermissions=<uses-feature android\:name\="android.hardware.camera" android\:required\="false"/>
88
codename1.arg.android.proguardKeep=\ -keep class net.sourceforge.zbar.** {*;}
9+
codename1.arg.android.permission.CAMERA=true

dist/QRScanner.cn1lib

-71 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)