Assigned
Status Update
Comments
al...@google.com <al...@google.com> #2
Any updates on this? It's been a month already since I reported it, and it seems this crash is occurring quite frequently for my users.
jj...@google.com <jj...@google.com> #3
I am still regularly receiving reports about this issue, and it seems it has not been addressed in the latest 1.4.0-rc01 release.
an...@gmail.com <an...@gmail.com> #4
Seems like a fairly easy fix on our end. I'll see to that it is fixed in 1.5.
Description
Component used: Service Version used: 1.10.1 and 1.12.0 Devices/Android versions reproduced on: Pixel 7
I have a service using 2 types mediaPlayback and microphone and declared like this in AndroidManifest:
On When targetSdkVerion 34 and on Android 14, we also need pass service type constant when calling startForeground().
Currently, I call like this:
As a result, it will do a bitwise and my value will pass to startForeground will equal
FOREGROUND_SERVICE_TYPE_MICROPHONE
orFOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK
. My foreground service will not work correctly and music will be stopped when making the app to background