commit | cdccfc72b5c0795d1de2b49dda3e88c7b49c2d8a | [log] [tgz] |
---|---|---|
author | Alex Buynytskyy <alexbuy@google.com> | Mon May 17 11:09:58 2021 -0700 |
committer | Alex Buynytskyy <alexbuy@google.com> | Mon May 17 13:41:52 2021 -0700 |
tree | af5e2ece85f7631f82d2f3407fe33837328e739a | |
parent | 98a3c8fffffc468a5a4943f40a966e7cdc9b5619 [diff] |
Only lookup dataLoader when necessary. This avoid the race condition when we are about to seal the session, but another notification goes through and fails the commit. Also saves some resources - we almost never need a dataLoader for e.g. Incremental installations. Bug: 188079906 Bug: 187967058 Fixes: 188079906 Fixes: 187967058 Test: atest PackageManagerShellCommandIncrementalTest Change-Id: Id931b40362f603ccd45b64ff5f8636d8c32e849e