2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] Address review comments

This commit is contained in:
James Hugman 2020-07-14 19:24:44 +01:00 committed by Emily Kager
parent 800e55e69a
commit 61fe76774f
2 changed files with 0 additions and 9 deletions

View File

@ -5,13 +5,10 @@
package org.mozilla.fenix.ui.robots package org.mozilla.fenix.ui.robots
import android.content.ActivityNotFoundException import android.content.ActivityNotFoundException
import android.content.ComponentName
import android.content.Intent import android.content.Intent
import android.net.Uri import android.net.Uri
import androidx.test.platform.app.InstrumentationRegistry import androidx.test.platform.app.InstrumentationRegistry
import org.mozilla.fenix.BuildConfig.DEEP_LINK_SCHEME import org.mozilla.fenix.BuildConfig.DEEP_LINK_SCHEME
import org.mozilla.fenix.HomeActivity
import org.mozilla.fenix.ext.application
class DeepLinkRobot { class DeepLinkRobot {
private fun openDeepLink(url: String) { private fun openDeepLink(url: String) {

View File

@ -123,10 +123,4 @@ class DeepLinkIntentProcessor(
} }
} }
} }
.apply {
when {
SDK_INT >= Build.VERSION_CODES.P ->
addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
}
}
} }