commit | f12fd7f8e2bf5a511d0c501db8c927718f4bede3 | [log] [tgz] |
---|---|---|
author | Patrick Hiesel <hiesel@google.com> | Wed Aug 07 15:25:07 2019 +0200 |
committer | Patrick Hiesel <hiesel@google.com> | Wed Sep 25 12:45:32 2019 +0200 |
tree | 42c2bd656951a2931f0c46b5e114e6e4b312397b | |
parent | 9a8627d5b26f703add442090a5b0b71ed8f56719 [diff] |
Make AccountState an AutoValue AccountState is a cached entity that is shared between different threads. We therefore want it to be immutable. AutoValue is the preferred way of generating immutable entities that have equals and toString implementations and is used for almost all other caches. Hence, we use it for AccountState too. Change-Id: I3b19ef34791c8800667fdcf9ad8beade8539af13