diff options
author | Kalesh Singh <kaleshsingh@google.com> | 2023-01-10 18:08:09 +0100 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2023-01-10 18:08:09 +0100 |
commit | 9fd1bd240e094a0f45f998a58039bca9c6578836 (patch) | |
tree | fa474dbcd1043cf932a0277d2e3abcdbfd9391ef /update_verifier/include | |
parent | Import translations. DO NOT MERGE ANYWHERE (diff) | |
parent | update_verifier: Verify blocks (diff) | |
download | android_bootable_recovery-9fd1bd240e094a0f45f998a58039bca9c6578836.tar android_bootable_recovery-9fd1bd240e094a0f45f998a58039bca9c6578836.tar.gz android_bootable_recovery-9fd1bd240e094a0f45f998a58039bca9c6578836.tar.bz2 android_bootable_recovery-9fd1bd240e094a0f45f998a58039bca9c6578836.tar.lz android_bootable_recovery-9fd1bd240e094a0f45f998a58039bca9c6578836.tar.xz android_bootable_recovery-9fd1bd240e094a0f45f998a58039bca9c6578836.tar.zst android_bootable_recovery-9fd1bd240e094a0f45f998a58039bca9c6578836.zip |
Diffstat (limited to 'update_verifier/include')
-rw-r--r-- | update_verifier/include/update_verifier/update_verifier.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/update_verifier/include/update_verifier/update_verifier.h b/update_verifier/include/update_verifier/update_verifier.h index 4c64b1ea1..0cccc9075 100644 --- a/update_verifier/include/update_verifier/update_verifier.h +++ b/update_verifier/include/update_verifier/update_verifier.h @@ -21,6 +21,7 @@ #include <string> #include <vector> +#include <snapuserd/snapuserd_client.h> #include "otautil/rangeset.h" // The update verifier performs verification upon the first boot to a new slot on A/B devices. @@ -68,4 +69,8 @@ class UpdateVerifier { // The function to read the device property; default value: android::base::GetProperty() std::function<std::string(const std::string&)> property_reader_; + + // Check if snapuserd daemon has already completed the update verification + // Applicable only for VABC with userspace snapshots + bool CheckVerificationStatus(); }; |