diff options
author | Alex Buynytskyy <alexbuy@google.com> | 2020-02-10 08:34:18 -0800 |
---|---|---|
committer | Alex Buynytskyy <alexbuy@google.com> | 2020-02-11 13:11:31 -0800 |
commit | 04f7391fc3a3bd2dc0dd477a84d13e111d59423c (patch) | |
tree | 5ca2b8e14ac72043e9f27616074172f2a2f8ff9c /services/incremental/BinderIncrementalService.cpp | |
parent | ad1c9607445e374c88a273d562295d492b9072e1 (diff) |
Incremental installations in PackageManagerShellCommand.
- onPrepareImage in native,
- allow to check installation type and choose native or managed
dataloaders,
- native data loader for Incremental,
- install-incremental shell command.
Test: atest PackageManagerShellCommandTest
Test: atest IncrementalServiceTest
Bug: b/136132412 b/133435829
Change-Id: I530a8a203fb50132c1869abd0b869036add18699
Diffstat (limited to 'services/incremental/BinderIncrementalService.cpp')
-rw-r--r-- | services/incremental/BinderIncrementalService.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/services/incremental/BinderIncrementalService.cpp b/services/incremental/BinderIncrementalService.cpp index b2c316a25e7f..3fcb57a83cf5 100644 --- a/services/incremental/BinderIncrementalService.cpp +++ b/services/incremental/BinderIncrementalService.cpp @@ -117,10 +117,9 @@ binder::Status BinderIncrementalService::openStorage(const std::string& path, binder::Status BinderIncrementalService::createStorage(const std::string& path, const DataLoaderParamsParcel& params, + const ::android::sp<::android::content::pm::IDataLoaderStatusListener>& listener, int32_t createMode, int32_t* _aidl_return) { - *_aidl_return = mImpl.createStorage(path, const_cast<DataLoaderParamsParcel&&>(params), - android::incremental::IncrementalService::CreateOptions( - createMode)); + *_aidl_return = mImpl.createStorage(path, const_cast<DataLoaderParamsParcel&&>(params), listener, android::incremental::IncrementalService::CreateOptions(createMode)); return ok(); } |