From: csagan5 <32685696+csagan5@users.noreply.github.com> Date: Sun, 27 Feb 2022 23:58:22 +0100 Subject: Disable minidump upload scheduling License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html Change-Id: I3522772d6b26c1ee6467516712c69f77b83921ea --- components/endpoint_fetcher/endpoint_fetcher.cc | 2 +- .../minidump_uploader/MinidumpUploadJobService.java | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/components/endpoint_fetcher/endpoint_fetcher.cc b/components/endpoint_fetcher/endpoint_fetcher.cc --- a/components/endpoint_fetcher/endpoint_fetcher.cc +++ b/components/endpoint_fetcher/endpoint_fetcher.cc @@ -299,7 +299,7 @@ void EndpointFetcher::OnResponseFetched( } } else { std::string net_error = net::ErrorToString(net_error_code); - VLOG(1) << __func__ << " with response error: " << net_error; + LOG(ERROR) << __func__ << " with response error: " << net_error; response->response = "There was a response error"; std::move(endpoint_fetcher_callback).Run(std::move(response)); } diff --git a/components/minidump_uploader/android/java/src/org/chromium/components/minidump_uploader/MinidumpUploadJobService.java b/components/minidump_uploader/android/java/src/org/chromium/components/minidump_uploader/MinidumpUploadJobService.java --- a/components/minidump_uploader/android/java/src/org/chromium/components/minidump_uploader/MinidumpUploadJobService.java +++ b/components/minidump_uploader/android/java/src/org/chromium/components/minidump_uploader/MinidumpUploadJobService.java @@ -50,7 +50,10 @@ public abstract class MinidumpUploadJobService * to build an upload job for scheduling. */ public static void scheduleUpload(JobInfo.Builder jobInfoBuilder) { - Log.i(TAG, "Scheduling upload of all pending minidumps."); + Log.i(TAG, "Scheduling upload of all pending minidumps is disabled."); + if ((true)) { + return; + } JobScheduler scheduler = (JobScheduler) ContextUtils.getApplicationContext().getSystemService( Context.JOB_SCHEDULER_SERVICE); -- 2.40.1