Skip to content

Commit

Permalink
Merge pull request #1303 from cemrich/bugfix/1296-crash-on-podcast-play
Browse files Browse the repository at this point in the history
Fix app crashing when streaming or downloading podcasts
  • Loading branch information
David-Development authored Oct 28, 2023
2 parents cf8d6ed + ad18e0d commit 6c8b2bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion News-Android-App/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
android:maxSdkVersion="22" />
<!-- <uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL" /> -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />

<application
android:name=".NewsReaderApplication"
Expand Down Expand Up @@ -257,7 +258,8 @@
-->
<service
android:name=".services.PodcastPlaybackService"
android:enabled="true"
android:foregroundServiceType="mediaPlayback"
android:enabled="true"
android:exported="true">
<intent-filter>
<action android:name="android.media.browse.MediaBrowserService" />
Expand Down

0 comments on commit 6c8b2bc

Please sign in to comment.