Fix music player picker
This commit is contained in:
parent
d329ec7eaa
commit
2bd55a00ad
@ -287,9 +287,8 @@ internal class MusicRepositoryImpl(
|
|||||||
override fun openPlayerChooser(context: Context) {
|
override fun openPlayerChooser(context: Context) {
|
||||||
context.startActivity(
|
context.startActivity(
|
||||||
Intent.createChooser(
|
Intent.createChooser(
|
||||||
Intent(Intent.ACTION_MAIN)
|
Intent("android.intent.action.MUSIC_PLAYER")
|
||||||
.apply {
|
.apply {
|
||||||
addCategory(Intent.CATEGORY_APP_MUSIC)
|
|
||||||
flags = Intent.FLAG_ACTIVITY_NEW_TASK
|
flags = Intent.FLAG_ACTIVITY_NEW_TASK
|
||||||
},
|
},
|
||||||
null
|
null
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user