24 lines
1.3 KiB
Diff
24 lines
1.3 KiB
Diff
From: csagan5 <32685696+csagan5@users.noreply.github.com>
|
|
Date: Sat, 27 Oct 2018 17:54:01 +0200
|
|
Subject: Disable update scheduler
|
|
|
|
License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
|
|
---
|
|
.../background_task_scheduler/ChromeBackgroundTaskFactory.java | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/background_task_scheduler/ChromeBackgroundTaskFactory.java b/chrome/android/java/src/org/chromium/chrome/browser/background_task_scheduler/ChromeBackgroundTaskFactory.java
|
|
--- a/chrome/android/java/src/org/chromium/chrome/browser/background_task_scheduler/ChromeBackgroundTaskFactory.java
|
|
+++ b/chrome/android/java/src/org/chromium/chrome/browser/background_task_scheduler/ChromeBackgroundTaskFactory.java
|
|
@@ -65,7 +65,7 @@ public class ChromeBackgroundTaskFactory implements BackgroundTaskFactory {
|
|
case TaskIds.WEBAPK_UPDATE_JOB_ID:
|
|
return new WebApkUpdateTask();
|
|
case TaskIds.COMPONENT_UPDATE_JOB_ID:
|
|
- return new UpdateTask();
|
|
+ return null;
|
|
case TaskIds.BACKGROUND_SYNC_ONE_SHOT_JOB_ID:
|
|
return new BackgroundSyncBackgroundTask();
|
|
case TaskIds.NOTIFICATION_SCHEDULER_JOB_ID:
|
|
--
|
|
2.25.1
|