From dddbb374e90b98c22a0e7b6d35ba2b9a9aebd863 Mon Sep 17 00:00:00 2001 From: Sawyer Blatz Date: Mon, 25 Feb 2019 10:15:46 -0800 Subject: [PATCH] Fixes #661: Unflags OPEN_TO_BROWSER after use --- app/src/main/java/org/mozilla/fenix/HomeActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/mozilla/fenix/HomeActivity.kt b/app/src/main/java/org/mozilla/fenix/HomeActivity.kt index dd12c65615..1c5393962f 100644 --- a/app/src/main/java/org/mozilla/fenix/HomeActivity.kt +++ b/app/src/main/java/org/mozilla/fenix/HomeActivity.kt @@ -42,6 +42,7 @@ open class HomeActivity : AppCompatActivity() { setContentView(R.layout.activity_home) if (intent?.extras?.getBoolean(OPEN_TO_BROWSER) == true) { + intent?.putExtra(OPEN_TO_BROWSER, false) openToBrowser() }