Fix music player picker

This commit is contained in:
MM20 2022-05-02 13:25:59 +02:00
parent d329ec7eaa
commit 2bd55a00ad
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -287,9 +287,8 @@ internal class MusicRepositoryImpl(
override fun openPlayerChooser(context: Context) {
context.startActivity(
Intent.createChooser(
Intent(Intent.ACTION_MAIN)
Intent("android.intent.action.MUSIC_PLAYER")
.apply {
addCategory(Intent.CATEGORY_APP_MUSIC)
flags = Intent.FLAG_ACTIVITY_NEW_TASK
},
null