diff options
author | Mohammad Samiul Islam <samiul@google.com> | 2021-02-23 12:09:29 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-23 12:09:29 +0000 |
commit | 68776d0e4e204b8ee4889a08ec1963868f884ad0 (patch) | |
tree | 72935f9e5a22c4ffc09e2945569b86ccd55a506f /aosp/sideload_main.cc | |
parent | d2fcb43bb86b97993f27a668b912654fcd65b3e0 (diff) | |
parent | 24a827946987b5128fa375364b8f6c1213893e5f (diff) |
Allow update_engine to communicate with apexd for size calculation am: 24a8279469
Original change: https://android-review.googlesource.com/c/platform/system/update_engine/+/1587413
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I22a75af1926ffd36d429e0b5afdb8f559f505352
Diffstat (limited to 'aosp/sideload_main.cc')
-rw-r--r-- | aosp/sideload_main.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/aosp/sideload_main.cc b/aosp/sideload_main.cc index 3cbc0c7f..bf015c94 100644 --- a/aosp/sideload_main.cc +++ b/aosp/sideload_main.cc @@ -154,8 +154,11 @@ bool ApplyUpdatePayload(const string& payload, return false; } - UpdateAttempterAndroid update_attempter( - &sideload_daemon_state, &prefs, boot_control.get(), hardware.get()); + UpdateAttempterAndroid update_attempter(&sideload_daemon_state, + &prefs, + boot_control.get(), + hardware.get(), + nullptr); update_attempter.Init(); TEST_AND_RETURN_FALSE(update_attempter.ApplyPayload( |