Skip to content

Commit

Permalink
Fix app crashing when streaming or downloading podcasts
Browse files Browse the repository at this point in the history
Fixes bug #1296

Signed-off-by: Christine Coenen <code.coenen@gmail.com>
  • Loading branch information
cemrich committed Oct 26, 2023
1 parent 26ccc7e commit ad18e0d
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 ad18e0d

Please sign in to comment.