summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/CacheManager.cpp
diff options
context:
space:
mode:
authorGeorge Lu <georgelu@google.com>2019-07-31 14:26:30 -0700
committerGeorge Lu <georgelu@google.com>2019-08-02 11:05:42 -0700
commitbc2238ebcd318cf453bfea669ce3a1130b7c2106 (patch)
tree444503f21636084c72e7dcd6ef9e058b3841b68e /libs/hwui/renderthread/CacheManager.cpp
parent7bdc19bacb177ba5fbfd6bb5db6fe4543fe2f220 (diff)
Fix RadioMetadata.hashCode().
ag/7063548 implemented RadioMetadata.hashCode() by calling Bundle.hashCode(), but that function uses the default implementation that uses the address of the Bundle. As a result, two RadioMetadata objects that were equal probably had different hash codes. RadioMetadata now instead lazily computes its hash code based upon the keys and values in mBundle. Fixes: 130750904 Test: atest com.android.server.broadcastradio.hal2.StartProgramListUpdatesFanoutTest Change-Id: Ia49716594744871831bc3734aea37e0f505897bf
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
0 files changed, 0 insertions, 0 deletions