diff options
author | Songchun Fan <schfan@google.com> | 2021-05-10 16:17:30 -0700 |
---|---|---|
committer | Songchun Fan <schfan@google.com> | 2021-05-11 10:18:22 -0700 |
commit | f6c65bbf6577820b27d70da0c37d17f110d9fab8 (patch) | |
tree | 44128c77ccb0f3db49abd7c50fbe7377972f9d8c /services/incremental/IncrementalService.cpp | |
parent | 0e05cb9d8bbba75f21e5e765538031f127b2f5bd (diff) |
[incremental] use same sysfs name for setOptions
Otherwise we have errors during applyStorageParams:
05-10 15:35:32.363 562 625 E IncrementalService: applyStorageParams failed: Status(-8, EX_SERVICE_SPECIFIC): '-95: '
05-10 15:35:32.363 562 625 E incfs-dataloaderconnector: setStorageParams failed with error: -95
05-10 15:35:32.363 562 625 E incfs-dataloaderconnector: DataLoader supports UID
05-10 15:35:32.367 0 0 E incfs : Can't change sysfs_name mount option on remount
BUG: 187308584
Test: atest CtsContentTestCases:android.content.pm.cts.PackageManagerShellCommandIncrementalTest#testInstallWithIdSigNoMissingPages
Change-Id: Ic2146aa7855e13de9f96794639de556f64e93701
Diffstat (limited to 'services/incremental/IncrementalService.cpp')
-rw-r--r-- | services/incremental/IncrementalService.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/incremental/IncrementalService.cpp b/services/incremental/IncrementalService.cpp index 51b270c42bde..24699d9dc9d8 100644 --- a/services/incremental/IncrementalService.cpp +++ b/services/incremental/IncrementalService.cpp @@ -983,7 +983,8 @@ int IncrementalService::applyStorageParamsLocked(IncFsMount& ifs) { bool enableReadTimeouts = ifs.readTimeoutsRequested(); std::lock_guard l(mMountOperationLock); - auto status = mVold->setIncFsMountOptions(control, enableReadLogs, enableReadTimeouts); + auto status = mVold->setIncFsMountOptions(control, enableReadLogs, enableReadTimeouts, + ifs.metricsKey); if (status.isOk()) { // Store states. ifs.setReadLogsEnabled(enableReadLogs); |