| From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
| From: Daniel Micay <danielmicay@gmail.com> |
| Date: Wed, 18 Nov 2020 19:13:27 -0500 |
| Subject: [PATCH] disable Omaha update check support |
| |
| --- |
| .../java/src/org/chromium/chrome/browser/omaha/OmahaBase.java | 2 +- |
| .../org/chromium/chrome/browser/omaha/VersionNumberGetter.java | 2 +- |
| 2 files changed, 2 insertions(+), 2 deletions(-) |
| |
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaBase.java b/chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaBase.java |
| index 4f7a64abb07f5..ae7ee72d8fb19 100644 |
| --- a/chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaBase.java |
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaBase.java |
| @@ -161,7 +161,7 @@ public class OmahaBase { |
| } |
| |
| static boolean isDisabled() { |
| - return sDisabledForTesting; |
| + return true; |
| } |
| |
| /** |
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/omaha/VersionNumberGetter.java b/chrome/android/java/src/org/chromium/chrome/browser/omaha/VersionNumberGetter.java |
| index 97a6757ee1914..3334cfc34d567 100644 |
| --- a/chrome/android/java/src/org/chromium/chrome/browser/omaha/VersionNumberGetter.java |
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/omaha/VersionNumberGetter.java |
| @@ -51,7 +51,7 @@ public class VersionNumberGetter { |
| private static VersionNumberGetter sInstanceForTests; |
| |
| /** If false, OmahaClient will never report that a newer version is available. */ |
| - private static boolean sEnableUpdateDetection = true; |
| + private static boolean sEnableUpdateDetection = false; |
| |
| protected VersionNumberGetter() {} |
| |