From: csagan5 <32685696+csagan5@users.noreply.github.com>
Date: Wed, 2 May 2018 01:04:07 +0200
Subject: Disable custom tab activities permanently

---
 .../src/org/chromium/chrome/browser/LaunchIntentDispatcher.java    | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/chrome/android/java/src/org/chromium/chrome/browser/LaunchIntentDispatcher.java b/chrome/android/java/src/org/chromium/chrome/browser/LaunchIntentDispatcher.java
--- a/chrome/android/java/src/org/chromium/chrome/browser/LaunchIntentDispatcher.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/LaunchIntentDispatcher.java
@@ -149,9 +149,10 @@ public class LaunchIntentDispatcher implements IntentHandler.IntentHandlerDelega
         recordIntentMetrics();
 
         mIsVrIntent = VrIntentUtils.isVrIntent(mIntent);
-        boolean isCustomTabIntent = (!mIsVrIntent && isCustomTabIntent(mIntent))
-                || (mIsVrIntent && VrIntentUtils.isCustomTabVrIntent(mIntent));
-        mIsCustomTabIntent = isCustomTabIntent;
+        //boolean isCustomTabIntent = (!mIsVrIntent && isCustomTabIntent(mIntent))
+        //        || (mIsVrIntent && VrIntentUtils.isCustomTabVrIntent(mIntent));
+        //mIsCustomTabIntent = isCustomTabIntent;
+        mIsCustomTabIntent = false;
     }
 
     /**
-- 
2.7.4

