diff options
Diffstat (limited to 'ui/app-start-intent')
2 files changed, 2 insertions, 8 deletions
diff --git a/ui/app-start-intent/src/main/java/de/danoeh/antennapod/ui/appstartintent/PlaybackSpeedActivityStarter.java b/ui/app-start-intent/src/main/java/de/danoeh/antennapod/ui/appstartintent/PlaybackSpeedActivityStarter.java index ac7e72a4e..b8cf6d6ce 100644 --- a/ui/app-start-intent/src/main/java/de/danoeh/antennapod/ui/appstartintent/PlaybackSpeedActivityStarter.java +++ b/ui/app-start-intent/src/main/java/de/danoeh/antennapod/ui/appstartintent/PlaybackSpeedActivityStarter.java @@ -18,11 +18,7 @@ public class PlaybackSpeedActivityStarter { this.context = context; intent = new Intent(INTENT); intent.setPackage(context.getPackageName()); - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { - intent.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT); - } else { - intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK); - } + intent.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT); } public Intent getIntent() { diff --git a/ui/app-start-intent/src/main/java/de/danoeh/antennapod/ui/appstartintent/VideoPlayerActivityStarter.java b/ui/app-start-intent/src/main/java/de/danoeh/antennapod/ui/appstartintent/VideoPlayerActivityStarter.java index 53f8719de..7245e2c68 100644 --- a/ui/app-start-intent/src/main/java/de/danoeh/antennapod/ui/appstartintent/VideoPlayerActivityStarter.java +++ b/ui/app-start-intent/src/main/java/de/danoeh/antennapod/ui/appstartintent/VideoPlayerActivityStarter.java @@ -18,9 +18,7 @@ public class VideoPlayerActivityStarter { this.context = context; intent = new Intent(INTENT); intent.setPackage(context.getPackageName()); - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { - intent.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT); - } + intent.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT); } public Intent getIntent() { |