From: csagan5 <32685696+csagan5@users.noreply.github.com> Date: Tue, 12 Jun 2018 15:09:26 +0200 Subject: Disable all promo dialogs License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html Change-Id: I9e71112a185671ce7aae2f836840bf949597eb0a --- .../chrome/browser/tabbed_mode/TabbedRootUiCoordinator.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/TabbedRootUiCoordinator.java b/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/TabbedRootUiCoordinator.java --- a/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/TabbedRootUiCoordinator.java +++ b/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/TabbedRootUiCoordinator.java @@ -917,7 +917,7 @@ public class TabbedRootUiCoordinator extends RootUiCoordinator { * displayed. */ private boolean triggerPromo(boolean intentWithEffect) { - try (TraceEvent e = TraceEvent.scoped("TabbedRootUiCoordinator.triggerPromo")) { + /*try (TraceEvent e = TraceEvent.scoped("TabbedRootUiCoordinator.triggerPromo")) { if (CommandLine.getInstance().hasSwitch(ChromeSwitches.DISABLE_STARTUP_PROMOS)) { return false; } @@ -941,8 +941,8 @@ public class TabbedRootUiCoordinator extends RootUiCoordinator { preferenceManager.writeBoolean( ChromePreferenceKeys.PROMOS_SKIPPED_ON_FIRST_START, true); } - return isShowingPromo; - } + return isShowingPromo; } */ + return false; } private boolean maybeShowPromo() { -- 2.40.1