Skip to content

Commit 14cd562

Browse files
committed
Update manifest for sdk34 FGS changes
1 parent 04ef608 commit 14cd562

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

app/src/main/AndroidManifest.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
1010
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
1111
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
12+
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
13+
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
1214
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
1315

1416
<!-- We need to be able to open links in the browser on API 30+ -->
@@ -96,7 +98,8 @@
9698

9799
<service android:name=".local.subscription.services.SubscriptionsImportService" />
98100
<service android:name=".local.subscription.services.SubscriptionsExportService" />
99-
<service android:name=".local.feed.service.FeedLoadService" />
101+
<service android:name=".local.feed.service.FeedLoadService"
102+
android:foregroundServiceType="dataSync" />
100103

101104
<activity
102105
android:name=".PanicResponderActivity"
@@ -128,7 +131,8 @@
128131
android:label="@string/app_name"
129132
android:launchMode="singleTask" />
130133

131-
<service android:name="us.shandian.giga.service.DownloadManagerService" />
134+
<service android:name="us.shandian.giga.service.DownloadManagerService"
135+
android:foregroundServiceType="dataSync" />
132136

133137
<activity
134138
android:name=".util.FilePickerActivityHelper"

0 commit comments

Comments
 (0)