Skip to content

Commit 661a53c

Browse files
committed
Update manifest for sdk34 FGS changes
1 parent 1d5d243 commit 661a53c

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+ -->
@@ -87,7 +89,8 @@
8789

8890
<service android:name=".local.subscription.services.SubscriptionsImportService" />
8991
<service android:name=".local.subscription.services.SubscriptionsExportService" />
90-
<service android:name=".local.feed.service.FeedLoadService" />
92+
<service android:name=".local.feed.service.FeedLoadService"
93+
android:foregroundServiceType="dataSync" />
9194

9295
<activity
9396
android:name=".PanicResponderActivity"
@@ -119,7 +122,8 @@
119122
android:label="@string/app_name"
120123
android:launchMode="singleTask" />
121124

122-
<service android:name="us.shandian.giga.service.DownloadManagerService" />
125+
<service android:name="us.shandian.giga.service.DownloadManagerService"
126+
android:foregroundServiceType="dataSync" />
123127

124128
<activity
125129
android:name=".util.FilePickerActivityHelper"

0 commit comments

Comments
 (0)