1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 02:30:11 +01:00

SparkleShare: Add patch to allow install on camera-less devices.

Reported as https://github.com/NewProggie/SparkleShare-Android/issues/68
This commit is contained in:
Paul Sokolovsky 2012-02-16 22:10:06 +02:00
parent cd0790095f
commit 998d42fd4e
2 changed files with 17 additions and 1 deletions

View File

@ -16,7 +16,7 @@ browse your files right from your Android device.
Repo Type:git
Repo:https://github.com/NewProggie/SparkleShare-Android.git
Build Version:1.0,1,a9e23f0f9ae6161a786bf48cb48ab3dec20110c9,target=android-7
Build Version:1.0,1,a9e23f0f9ae6161a786bf48cb48ab3dec20110c9,patch=uses-feature.patch,target=android-7
Update Check Mode:Market
Current Version:1.0

View File

@ -0,0 +1,16 @@
Camera use is optional, don't disallow install on camera-less devices.
See right side pane at
http://developer.android.com/guide/topics/manifest/uses-permission-element.html
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index d020d9d..1b45bf1 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -8,6 +8,7 @@
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA"/>
+ <uses-feature android:name="android.hardware.camera" android:required="false" />
<application
android:icon="@drawable/icon"
android:label="@string/app_name"