mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +02: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:
parent
cd0790095f
commit
998d42fd4e
@ -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
|
||||
|
16
metadata/org.sparkleshare.android/uses-feature.patch
Normal file
16
metadata/org.sparkleshare.android/uses-feature.patch
Normal 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"
|
Loading…
Reference in New Issue
Block a user