summaryrefslogtreecommitdiff
path: root/services/incremental/BinderIncrementalService.cpp
diff options
context:
space:
mode:
author Alex Buynytskyy <alexbuy@google.com> 2020-08-25 12:45:22 -0700
committer Alex Buynytskyy <alexbuy@google.com> 2020-08-27 10:33:46 -0700
commitbc0a7e6cbf4a56c1451e8e03040974b1cc0a782d (patch)
treeeddfd43620f7c3aadb6ff7428b46f61fe9c0ce25 /services/incremental/BinderIncrementalService.cpp
parentedbf3411d2c91f38a1a5d93b9e5b3380524b3ed8 (diff)
Wait for APK to be fully downloaded for full APK digests.
Bug: 160605420 Test: atest ChecksumsTest Change-Id: Ib9fd591c67290786268b6dcdc57c7db153612e01
Diffstat (limited to 'services/incremental/BinderIncrementalService.cpp')
-rw-r--r--services/incremental/BinderIncrementalService.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/services/incremental/BinderIncrementalService.cpp b/services/incremental/BinderIncrementalService.cpp
index 41945a276fde..87ae4d719d11 100644
--- a/services/incremental/BinderIncrementalService.cpp
+++ b/services/incremental/BinderIncrementalService.cpp
@@ -237,6 +237,13 @@ binder::Status BinderIncrementalService::unlink(int32_t storageId, const std::st
return ok();
}
+binder::Status BinderIncrementalService::isFileFullyLoaded(int32_t storageId,
+ const std::string& path,
+ int32_t* _aidl_return) {
+ *_aidl_return = mImpl.isFileFullyLoaded(storageId, path);
+ return ok();
+}
+
binder::Status BinderIncrementalService::getLoadingProgress(int32_t storageId,
float* _aidl_return) {
*_aidl_return = mImpl.getLoadingProgress(storageId);