Use Service.stopForeground(int) on API 24+
The MediaNotficationManager stops the service from the foreground calling Service.stopForeground(boolean) which is deprecated in API 33. This change calls Service.stopForeground(int), which was added in API 24. #minor-release PiperOrigin-RevId: 482190332 (cherry picked from commit 601eaba7)
Showing
with
21 additions
and
4 deletions
Please
register
or
sign in
to comment