diff options
author | Yurii Zubrytskyi <zyy@google.com> | 2021-03-18 19:30:56 -0700 |
---|---|---|
committer | Songchun Fan <schfan@google.com> | 2021-03-19 04:28:47 +0000 |
commit | 883a27a3733a72c155944d7e019d6d0495d238a5 (patch) | |
tree | e26ac78d25b862f424d8b972a79e4c783888940b /services/incremental/BinderIncrementalService.cpp | |
parent | f5a6fb9996387ff2feb0c77545c2f883998065a7 (diff) |
[incfs] Call the new isFullyLoaded api where possible
Replace the remaining calls to getFilledRanges() with
isFullyLoaded() where we don't care about the progress
Bug: 183067554
Test: atest IncrementalService
Change-Id: Ic8dc2e3a0ef078353883feef7969b29e11dfa2d0
Diffstat (limited to 'services/incremental/BinderIncrementalService.cpp')
-rw-r--r-- | services/incremental/BinderIncrementalService.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/services/incremental/BinderIncrementalService.cpp b/services/incremental/BinderIncrementalService.cpp index 5e5be2506567..052b4dd7118c 100644 --- a/services/incremental/BinderIncrementalService.cpp +++ b/services/incremental/BinderIncrementalService.cpp @@ -266,8 +266,7 @@ binder::Status BinderIncrementalService::isFullyLoaded(int32_t storageId, int32_ binder::Status BinderIncrementalService::getLoadingProgress(int32_t storageId, float* _aidl_return) { - *_aidl_return = - mImpl.getLoadingProgress(storageId, /*stopOnFirstIncomplete=*/false).getProgress(); + *_aidl_return = mImpl.getLoadingProgress(storageId).getProgress(); return ok(); } |