Skip to content
Commit 173116ef authored by Nikolas Havrikov's avatar Nikolas Havrikov
Browse files

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
parent 1774563e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment