Add stubs for new API triggerPostinstall
Test: th
Bug: 377557752
Change-Id: I73beaae7feebb12d944d59496db2cf8c89115e93
diff --git a/aosp/binder_service_stable_android.h b/aosp/binder_service_stable_android.h
index 212afaa..2f3fa7e 100644
--- a/aosp/binder_service_stable_android.h
+++ b/aosp/binder_service_stable_android.h
@@ -19,7 +19,6 @@
#include <stdint.h>
-#include <string>
#include <vector>
#include <utils/Errors.h>
@@ -33,7 +32,7 @@
namespace chromeos_update_engine {
-class BinderUpdateEngineAndroidStableService
+class BinderUpdateEngineAndroidStableService final
: public android::os::BnUpdateEngineStable,
public ServiceObserverInterface {
public:
@@ -62,6 +61,8 @@
android::binder::Status unbind(
const android::sp<android::os::IUpdateEngineStableCallback>& callback,
bool* return_value) override;
+ android::binder::Status triggerPostinstall(
+ const ::android::String16& partition) override;
private:
// Remove the passed |callback| from the list of registered callbacks. Called