Implement vendor-available vold interface
Bug: 362567323
Test: mmm system/vold
Change-Id: I967faeb221741cbd8d6c13b25cd57c37fbb6e839
diff --git a/Checkpoint.h b/Checkpoint.h
index 6f3acac..7625310 100644
--- a/Checkpoint.h
+++ b/Checkpoint.h
@@ -17,6 +17,7 @@
#ifndef _CHECKPOINT_H
#define _CHECKPOINT_H
+#include <android/system/vold/IVold.h>
#include <binder/Status.h>
#include <string>
@@ -48,6 +49,9 @@
android::binder::Status cp_markBootAttempt();
void cp_resetCheckpoint();
+
+bool cp_registerCheckpointListener(
+ android::sp<android::system::vold::IVoldCheckpointListener> listener);
} // namespace vold
} // namespace android