diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-08-06 09:35:54 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-08-06 09:35:54 +0000 |
commit | fe898a5c6c6cea96ab29e3677f9c89435f6c1075 (patch) | |
tree | eb88979822d29fb05f8807e49b1a3fc54f5398da /app/src/main/AndroidManifest.xml | |
parent | 5bb9cf789143725c7645ec54ed908ea52a255770 (diff) | |
download | infinity-for-reddit-fe898a5c6c6cea96ab29e3677f9c89435f6c1075.tar infinity-for-reddit-fe898a5c6c6cea96ab29e3677f9c89435f6c1075.tar.gz infinity-for-reddit-fe898a5c6c6cea96ab29e3677f9c89435f6c1075.tar.bz2 infinity-for-reddit-fe898a5c6c6cea96ab29e3677f9c89435f6c1075.tar.lz infinity-for-reddit-fe898a5c6c6cea96ab29e3677f9c89435f6c1075.tar.xz infinity-for-reddit-fe898a5c6c6cea96ab29e3677f9c89435f6c1075.tar.zst infinity-for-reddit-fe898a5c6c6cea96ab29e3677f9c89435f6c1075.zip |
Create PostMediaService to submit video and image posts.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/AndroidManifest.xml | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 425e1269..bebae40b 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -10,6 +10,8 @@ android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="22" /> + <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> + <application android:name=".Infinity" android:allowBackup="true" @@ -19,6 +21,11 @@ android:supportsRtl="true" android:theme="@style/AppTheme" android:usesCleartextTraffic="true"> + <service + android:name=".PostMediaService" + android:enabled="true" + android:exported="false"></service> + <activity android:name=".FilteredPostsActivity" android:parentActivityName=".MainActivity" @@ -62,17 +69,20 @@ android:name=".PostVideoActivity" android:label="@string/post_video_activity_label" android:parentActivityName=".MainActivity" - android:theme="@style/AppTheme.NoActionBar" /> + android:theme="@style/AppTheme.NoActionBar" + android:windowSoftInputMode="adjustResize" /> <activity android:name=".PostImageActivity" android:label="@string/post_image_activity_label" android:parentActivityName=".MainActivity" - android:theme="@style/AppTheme.NoActionBar" /> + android:theme="@style/AppTheme.NoActionBar" + android:windowSoftInputMode="adjustResize" /> <activity android:name=".PostLinkActivity" android:label="@string/post_link_activity_label" android:parentActivityName=".MainActivity" - android:theme="@style/AppTheme.NoActionBar" /> + android:theme="@style/AppTheme.NoActionBar" + android:windowSoftInputMode="adjustResize" /> <activity android:name=".SubscribedThingListingActivity" android:label="@string/subscriptions" |