summaryrefslogtreecommitdiff
path: root/aosp/daemon_state_android.cc
diff options
context:
space:
mode:
authorBrian Orr <brianorr@google.com>2021-05-10 11:39:59 -0700
committerBrian Orr <brianorr@google.com>2021-05-10 11:39:59 -0700
commitf79cb91b4218a68642c94a01defc0594e742b3f4 (patch)
tree01ec931931503ed80f181b2d85efb5df0079e4ba /aosp/daemon_state_android.cc
parentd650df1d306a5a828e7b13a8cc954196fea44992 (diff)
parent3d4e6e0d7ed2b609e0fe2b4d0fcb250808f97476 (diff)
Merge SP1A.210510.001
Change-Id: If7498b293041f2ae00fd93563417d60a0c13e7c9
Diffstat (limited to 'aosp/daemon_state_android.cc')
-rw-r--r--aosp/daemon_state_android.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/aosp/daemon_state_android.cc b/aosp/daemon_state_android.cc
index fc89d73e..da49080c 100644
--- a/aosp/daemon_state_android.cc
+++ b/aosp/daemon_state_android.cc
@@ -65,12 +65,11 @@ bool DaemonStateAndroid::Initialize() {
certificate_checker_->Init();
// Initialize the UpdateAttempter before the UpdateManager.
- update_attempter_.reset(
- new UpdateAttempterAndroid(this,
- prefs_.get(),
- boot_control_.get(),
- hardware_.get(),
- std::make_unique<ApexHandlerAndroid>()));
+ update_attempter_.reset(new UpdateAttempterAndroid(this,
+ prefs_.get(),
+ boot_control_.get(),
+ hardware_.get(),
+ CreateApexHandler()));
return true;
}