File tree Expand file tree Collapse file tree
kotlin/project/pipepipe/app/service Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 android : name =" project.pipepipe.app.MainActivity"
5050 android : exported =" true"
5151 android : theme =" @style/Theme.PipePipe"
52- android : configChanges =" orientation|screenSize|screenLayout|keyboardHidden"
53- android : supportsPictureInPicture =" true" >
52+ android : configChanges =" orientation|screenSize|screenLayout|keyboardHidden|smallestScreenSize|density|layoutDirection|uiMode"
53+ android : resizeableActivity =" true"
54+ android : supportsPictureInPicture =" true"
55+ android : launchMode =" singleTask" >
5456 <intent-filter >
5557 <action android : name =" android.intent.action.MAIN" />
5658
Original file line number Diff line number Diff line change @@ -565,7 +565,7 @@ class PlaybackService : MediaLibraryService() {
565565
566566 private fun buildSessionActivity (): PendingIntent {
567567 val intent = Intent (this , Class .forName(" project.pipepipe.app.MainActivity" ))
568- intent.flags = Intent .FLAG_ACTIVITY_SINGLE_TOP or Intent .FLAG_ACTIVITY_CLEAR_TOP
568+ intent.flags = Intent .FLAG_ACTIVITY_SINGLE_TOP or Intent .FLAG_ACTIVITY_NEW_TASK
569569 intent.putExtra(" open_play_queue" , true )
570570 return PendingIntent .getActivity(
571571 this ,
You can’t perform that action at this time.
0 commit comments