Fixed ForegroundServiceStartNotAllowedException when song ended on Android 12.
This was due to Android 12's foreground service restrictions.
This commit is contained in:
parent
21a2014385
commit
a78100c0ea
3 changed files with 12 additions and 2 deletions
|
@ -9,7 +9,7 @@ android {
|
|||
|
||||
defaultConfig {
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 30
|
||||
targetSdkVersion 31
|
||||
|
||||
renderscriptTargetApi 29//must match target sdk and build tools
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue