diff options
author | 2021-06-08 16:35:39 -0700 | |
---|---|---|
committer | 2021-06-08 17:41:47 -0700 | |
commit | 4bafd4ddd820138d9f50b37c169e9facce6e7bb7 (patch) | |
tree | 23be281d9ae2f4c4859e7daa69709a4ab57a6c85 /services/incremental/IncrementalService.h | |
parent | 0d0d1ae6496d1fbc91dcfbb6cddef065b716d625 (diff) |
Proper retrying DL installation sessions.
Plus more robust handling of broken DLs.
Bug: 190012477
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest com.google.android.packageinstallerv2proxy.host.gts.IncrementalInstallerHostTest
Change-Id: I5cb037d49cd2b140bed1045c99f072112495acfc
Diffstat (limited to 'services/incremental/IncrementalService.h')
-rw-r--r-- | services/incremental/IncrementalService.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/incremental/IncrementalService.h b/services/incremental/IncrementalService.h index 5de7325b3d28..b81e1b1b071c 100644 --- a/services/incremental/IncrementalService.h +++ b/services/incremental/IncrementalService.h @@ -255,6 +255,7 @@ private: binder::Status onStatusChanged(MountId mount, int newStatus) final; void setCurrentStatus(int newStatus); + void compareAndSetCurrentStatus(int expectedStatus, int newStatus); sp<content::pm::IDataLoader> getDataLoader(); |