LeOSium_old/patches/0003-LeOS/40-59/48 - Disable-update-schedul...

25 lines
1.0 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
Change-Id: I506563e65e1ff41eb0a3fea73715de496b365a51
---
.../android/background_task_update_scheduler.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/components/component_updater/android/background_task_update_scheduler.cc b/components/component_updater/android/background_task_update_scheduler.cc
--- a/components/component_updater/android/background_task_update_scheduler.cc
+++ b/components/component_updater/android/background_task_update_scheduler.cc
@@ -19,6 +19,7 @@ const base::TimeDelta kOnStartTaskDelay = base::Seconds(2);
} // namespace
BackgroundTaskUpdateScheduler::BackgroundTaskUpdateScheduler() {
+ DCHECK(false);
JNIEnv* env = base::android::AttachCurrentThread();
j_update_scheduler_.Reset(Java_UpdateScheduler_getInstance(env));
Java_UpdateScheduler_setNativeScheduler(env, j_update_scheduler_,
--
2.40.1