| 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 33e232ec8bdda..bad1a721683f6 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 |
| @@ -157,7 +157,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 90cfcd7661c43..97f59b58fef13 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 |
| @@ -50,7 +50,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() { } |
| |