Switch update_engine over to generic BootControlClient
Test: th
Change-Id: I5097a578d5809aec48c4cbdf2dc0359a28042fb2
diff --git a/aosp/boot_control_android.h b/aosp/boot_control_android.h
index 9012032..018c00c 100644
--- a/aosp/boot_control_android.h
+++ b/aosp/boot_control_android.h
@@ -21,9 +21,9 @@
#include <memory>
#include <string>
-#include <android/hardware/boot/1.0/IBootControl.h>
#include <liblp/builder.h>
#include <gtest/gtest_prod.h>
+#include <BootControlClient.h>
#include "update_engine/aosp/dynamic_partition_control_android.h"
#include "update_engine/common/boot_control.h"
@@ -67,7 +67,7 @@
DynamicPartitionControlInterface* GetDynamicPartitionControl() override;
private:
- ::android::sp<::android::hardware::boot::V1_0::IBootControl> module_;
+ std::unique_ptr<android::hal::BootControlClient> module_;
std::unique_ptr<DynamicPartitionControlAndroid> dynamic_control_;
friend class BootControlAndroidTest;