Skip to content

Commit 9d6e9c0

Browse files
committed
Update AndroidManifest.xml with PlayerService and permissions
1 parent 0d87c02 commit 9d6e9c0

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

external-player/src/main/AndroidManifest.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
<uses-permission android:name="android.permission.INTERNET" />
66
<uses-permission android:name="android.permission.WAKE_LOCK" />
7+
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
78

89
<application
910
android:allowBackup="true"
@@ -32,5 +33,10 @@
3233
</intent-filter>
3334
</activity>
3435

36+
<!-- Foreground service that runs ExoPlayer for background playbook -->
37+
<service
38+
android:name=".PlayerService"
39+
android:exported="false"
40+
android:foregroundServiceType="mediaPlayback" />
3541
</application>
3642
</manifest>

0 commit comments

Comments
 (0)