commit | c82b3c669ed29718b8e7f74c7a9b5883a0d70b14 | [log] [tgz] |
---|---|---|
author | Winson <chiuwinson@google.com> | Tue Dec 21 14:40:04 2021 -0800 |
committer | Winson <chiuwinson@google.com> | Thu Dec 30 13:42:18 2021 -0800 |
tree | 3eacbd5db2f91ddafe3c3dd5fe88f08b432108e1 | |
parent | e90bb5f637e4e57111c4dada447c1ff8d1033c47 [diff] |
Introduce package state mutation APIs Adds APIs to record a state at some time and use that state to commit changes to package state. Which allows reconcilation and retry of competing changes without needing to take the data model lock unless absolutely necessary. Also copies over data model/settings changes to make it compile. Split from actual usage to make review easier. Bug: 202291547 Test: presubmit, no usages yet Change-Id: I6738829185022efef4add1805b5a52b3de3d173a