Merge branch 'improve-backstack' of https://github.com/mauriciocolli/NewPipe into back

This commit is contained in:
Christian Schabesberger 2017-06-11 14:08:47 +02:00
commit 51d4d0d3dc
13 changed files with 240 additions and 350 deletions

View file

@ -263,6 +263,7 @@ public class PopupVideoPlayer extends Service {
i.putExtra(Constants.KEY_TITLE, videoTitle);
i.putExtra(Constants.KEY_LINK_TYPE, StreamingService.LinkType.STREAM);
i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
i.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
context.startActivity(i);
context.sendBroadcast(new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS));
}