summaryrefslogtreecommitdiff
path: root/services/incremental/BinderIncrementalService.h
diff options
context:
space:
mode:
author Songchun Fan <schfan@google.com> 2020-05-21 18:19:07 -0700
committer Songchun Fan <schfan@google.com> 2020-05-27 22:16:57 +0000
commit14f6c3c735164f8c0f879e96a568168b0c564fa6 (patch)
treec37f5f157beff7d081684192c70e6a19bbe6b7be /services/incremental/BinderIncrementalService.h
parent2cdbcea8ba29bbb8d50511a9fa6e5bd2763fb153 (diff)
[incremental] respect extractNativeLibs in native lib config
Makes sure the behavior is consistent with legacy installs: When the flag is on, the native libs will be extracted to subdirs under lib/. When the flag is off, the lib/ subdirs will be created but the native libs are not extracted. When the flag is off, check if the native libs are uncompressed and well aligned. Test: atest android.extractnativelibs.cts.CtsExtractNativeLibsHostTest BUG: 157173358 Change-Id: Idb57fd7ca1115f787faf5cde3056c32ff3f60890
Diffstat (limited to 'services/incremental/BinderIncrementalService.h')
-rw-r--r--services/incremental/BinderIncrementalService.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/incremental/BinderIncrementalService.h b/services/incremental/BinderIncrementalService.h
index 5a7d5da56f18..659f6afcc03f 100644
--- a/services/incremental/BinderIncrementalService.h
+++ b/services/incremental/BinderIncrementalService.h
@@ -75,7 +75,8 @@ public:
binder::Status configureNativeBinaries(int32_t storageId, const std::string& apkFullPath,
const std::string& libDirRelativePath,
- const std::string& abi, bool* _aidl_return) final;
+ const std::string& abi, bool extractNativeLibs,
+ bool* _aidl_return) final;
binder::Status waitForNativeBinariesExtraction(int storageId, bool* _aidl_return) final;
private: