Address review comments

releases/v79.1.0
James Hugman 4 years ago committed by Emily Kager
parent 22689a9ff5
commit 798c1bf743

@ -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) {

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

Loading…
Cancel
Save