commit | 9c62329a574587af42fc31c02052473d7bd18305 | [log] [tgz] |
---|---|---|
author | Kelvin Zhang <zhangkelvin@google.com> | Thu Jul 18 23:02:18 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Jul 18 23:02:18 2024 +0000 |
tree | bbca93e5d887b580cc7c708c27087e3a83b1d68e | |
parent | 90baf075720c895b5f2ade2f7ae61fe8fff807a3 [diff] | |
parent | c18e35d5a56346ec81843ec22dd80b7fd90d90ae [diff] |
Add debug logs to understand slow update start issue am: e70fa767ae am: c18e35d5a5 Original change: https://android-review.googlesource.com/c/platform/system/update_engine/+/3183139 Change-Id: I32314190b0530653bc42483168c75997e34a6095 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/aosp/update_attempter_android.cc b/aosp/update_attempter_android.cc index 0f6fc5c..b19d424 100644 --- a/aosp/update_attempter_android.cc +++ b/aosp/update_attempter_android.cc
@@ -299,6 +299,8 @@ install_plan_.is_resume = !payload_id.empty() && DeltaPerformer::CanResumeUpdate(prefs_, payload_id); if (!install_plan_.is_resume) { + LOG(INFO) << "Starting a new update " << payload_url + << " size: " << payload_size << " offset: " << payload_offset; boot_control_->GetDynamicPartitionControl()->Cleanup(); boot_control_->GetDynamicPartitionControl()->ResetUpdate(prefs_);