diff options
author | ByteHamster <info@bytehamster.com> | 2022-12-18 13:48:31 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2022-12-18 15:01:59 +0100 |
commit | d8d6f1c72f0aad452eb88f002dd11995bc1230f9 (patch) | |
tree | 184ca8046c438cdfb502c6a74b45ceb8870e6257 /ui/app-start-intent | |
parent | 1d251492b08ca17852e4a8bb5b0a9638443da9b2 (diff) | |
download | AntennaPod-d8d6f1c72f0aad452eb88f002dd11995bc1230f9.zip |
Remove support for Android 4.4
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() { |