summaryrefslogtreecommitdiffstats
path: root/updater/include
diff options
context:
space:
mode:
authorRobin Lee <rgl@google.com>2019-07-05 22:56:20 +0200
committerRobin Lee <rgl@google.com>2019-07-08 19:30:11 +0200
commit1cf8eb7559d161b8a11d83e2518316b25331fbb6 (patch)
tree06f93b80e15abec2a1e90b871eb5951d318d0c58 /updater/include
parentMerge "Build libimgdiff as a host only library" (diff)
downloadandroid_bootable_recovery-1cf8eb7559d161b8a11d83e2518316b25331fbb6.tar
android_bootable_recovery-1cf8eb7559d161b8a11d83e2518316b25331fbb6.tar.gz
android_bootable_recovery-1cf8eb7559d161b8a11d83e2518316b25331fbb6.tar.bz2
android_bootable_recovery-1cf8eb7559d161b8a11d83e2518316b25331fbb6.tar.lz
android_bootable_recovery-1cf8eb7559d161b8a11d83e2518316b25331fbb6.tar.xz
android_bootable_recovery-1cf8eb7559d161b8a11d83e2518316b25331fbb6.tar.zst
android_bootable_recovery-1cf8eb7559d161b8a11d83e2518316b25331fbb6.zip
Diffstat (limited to 'updater/include')
-rw-r--r--updater/include/updater/updater.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/updater/include/updater/updater.h b/updater/include/updater/updater.h
index 08816bf36..8676b6038 100644
--- a/updater/include/updater/updater.h
+++ b/updater/include/updater/updater.h
@@ -62,10 +62,12 @@ class Updater : public UpdaterInterface {
std::string GetResult() const override {
return result_;
}
-
uint8_t* GetMappedPackageAddress() const override {
return mapped_package_.addr;
}
+ size_t GetMappedPackageLength() const override {
+ return mapped_package_.length;
+ }
private:
friend class UpdaterTestBase;