From 798c1bf743f70477e06346a1484766cb5bcc5f5c Mon Sep 17 00:00:00 2001 From: James Hugman Date: Tue, 14 Jul 2020 19:24:44 +0100 Subject: [PATCH] Address review comments --- .../java/org/mozilla/fenix/ui/robots/DeepLinkRobot.kt | 3 --- .../mozilla/fenix/home/intent/DeepLinkIntentProcessor.kt | 6 ------ 2 files changed, 9 deletions(-) diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/robots/DeepLinkRobot.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/robots/DeepLinkRobot.kt index 381a1936a..db4cb2903 100644 --- a/app/src/androidTest/java/org/mozilla/fenix/ui/robots/DeepLinkRobot.kt +++ b/app/src/androidTest/java/org/mozilla/fenix/ui/robots/DeepLinkRobot.kt @@ -5,13 +5,10 @@ package org.mozilla.fenix.ui.robots import android.content.ActivityNotFoundException -import android.content.ComponentName import android.content.Intent import android.net.Uri import androidx.test.platform.app.InstrumentationRegistry import org.mozilla.fenix.BuildConfig.DEEP_LINK_SCHEME -import org.mozilla.fenix.HomeActivity -import org.mozilla.fenix.ext.application class DeepLinkRobot { private fun openDeepLink(url: String) { diff --git a/app/src/main/java/org/mozilla/fenix/home/intent/DeepLinkIntentProcessor.kt b/app/src/main/java/org/mozilla/fenix/home/intent/DeepLinkIntentProcessor.kt index df305af00..740307cc4 100644 --- a/app/src/main/java/org/mozilla/fenix/home/intent/DeepLinkIntentProcessor.kt +++ b/app/src/main/java/org/mozilla/fenix/home/intent/DeepLinkIntentProcessor.kt @@ -123,10 +123,4 @@ class DeepLinkIntentProcessor( } } } - .apply { - when { - SDK_INT >= Build.VERSION_CODES.P -> - addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) - } - } }