aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-09-06 03:54:50 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-09-06 03:54:50 +0000
commitcefc21fd1ba9023e89d9d70f27e36ebb29ed53b1 (patch)
treec6f3de227af994c97c32be94dc2bc13ec2121263 /app/src/main/AndroidManifest.xml
parent60eb71fe11b166a30dd0b879ea935e1769120c63 (diff)
downloadinfinity-for-reddit-cefc21fd1ba9023e89d9d70f27e36ebb29ed53b1.tar
infinity-for-reddit-cefc21fd1ba9023e89d9d70f27e36ebb29ed53b1.tar.gz
infinity-for-reddit-cefc21fd1ba9023e89d9d70f27e36ebb29ed53b1.tar.bz2
infinity-for-reddit-cefc21fd1ba9023e89d9d70f27e36ebb29ed53b1.tar.lz
infinity-for-reddit-cefc21fd1ba9023e89d9d70f27e36ebb29ed53b1.tar.xz
infinity-for-reddit-cefc21fd1ba9023e89d9d70f27e36ebb29ed53b1.tar.zst
infinity-for-reddit-cefc21fd1ba9023e89d9d70f27e36ebb29ed53b1.zip
Select download location is now available. Download images and gifs to locations set by users in ViewImageOrGifActivity is available.
Diffstat (limited to 'app/src/main/AndroidManifest.xml')
-rw-r--r--app/src/main/AndroidManifest.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 13339b1b..690f1026 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -6,7 +6,7 @@
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SET_WALLPAPER" />
<uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
- <uses-permission android:name="android.permission.VIBRATE"/>
+ <uses-permission android:name="android.permission.VIBRATE" />
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="22" />
@@ -24,7 +24,13 @@
android:theme="@style/AppTheme"
android:usesCleartextTraffic="true"
tools:replace="android:label">
- <activity android:name=".Activity.ViewRedditGalleryActivity"
+ <service
+ android:name=".Service.DownloadImageService"
+ android:enabled="true"
+ android:exported="false"></service>
+
+ <activity
+ android:name=".Activity.ViewRedditGalleryActivity"
android:configChanges="orientation|screenSize|layoutDirection"
android:parentActivityName=".Activity.MainActivity"
android:theme="@style/AppTheme.Draggable" />