[tbb-commits] [tor-browser/tor-browser-68.1.0esr-9.0-3] Bug 31144 - Do not switching apps from CustomTabs without consent

gk at torproject.org gk at torproject.org
Fri Oct 18 06:21:47 UTC 2019


commit d5123da897516717e62db98dccbcabd70162dcb3
Author: Matthew Finkel <Matthew.Finkel at gmail.com>
Date:   Fri Oct 18 00:57:00 2019 +0000

    Bug 31144 - Do not switching apps from CustomTabs without consent
---
 .../base/java/org/mozilla/gecko/customtabs/CustomTabsActivity.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mobile/android/base/java/org/mozilla/gecko/customtabs/CustomTabsActivity.java b/mobile/android/base/java/org/mozilla/gecko/customtabs/CustomTabsActivity.java
index 230773cd1292..872fe9723001 100644
--- a/mobile/android/base/java/org/mozilla/gecko/customtabs/CustomTabsActivity.java
+++ b/mobile/android/base/java/org/mozilla/gecko/customtabs/CustomTabsActivity.java
@@ -621,7 +621,8 @@ public class CustomTabsActivity extends AppCompatActivity
             final Intent intent = new Intent(Intent.ACTION_VIEW);
             intent.setData(uri);
             try {
-                startActivity(intent);
+                // Bug 31144 - Don't know how to handle this case.
+                //startActivity(intent);
             } catch (ActivityNotFoundException e) {
                 Log.w(LOGTAG, "No activity handler found for: " + request.uri);
             }



More information about the tbb-commits mailing list