diff options
| author | Nikolas Havrikov <havrikov@google.com> | 2022-01-14 16:30:46 +0100 |
|---|---|---|
| committer | Nikolas Havrikov <havrikov@google.com> | 2022-01-14 17:46:17 +0100 |
| commit | 173116efb4a05d6f5ccab590b58305a1d3ccecca (patch) | |
| tree | 64f0db9a751ffef69f2a5e78e05a1ad5fb1dacb4 /core/java/android/util/SparseArrayMap.java | |
| parent | 1774563ec07acbbda6987b2b976b08f9ca5d5bb1 (diff) | |
Make AssociationInfo immutable
This CL turns AssociationInfo into an immutable data class and
introduces a typesafe builder pattern for producing modified copies.
Note that this change now also invalidates the user cache entry when
making updates to associations.
Test: atest CtsCompanionDeviceManagerCoreTestCases
Test: atest CtsCompanionDeviceManagerUiAutomationTestCases
Change-Id: Ifd62d2ecce57790b6e462eb23033ca6c9a0cfe1b
Diffstat (limited to 'core/java/android/util/SparseArrayMap.java')
0 files changed, 0 insertions, 0 deletions
