diff options
author | Cody Kesting <ckesting@google.com> | 2019-03-14 10:35:23 -0700 |
---|---|---|
committer | Cody Kesting <ckesting@google.com> | 2019-03-15 15:46:09 +0000 |
commit | 99ef1d40dce0a5b27f08e02e101485aeb48770fc (patch) | |
tree | 4c0700be3b3e9e85569dade28047e49da2f10449 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 1f6b8f50c1b117e85608394221181469f336e244 (diff) |
Fix ServiceState.hashCode() bug.
ServiceState currently overrides hashCode() incorrectly. It hashes an
Array field without using Arrays.hashCode(), meaning that the default
Object.hashCode() implementation is used (which is based on the address
of the Array field). This allows equivalent ServiceState instances to
produce different hashes.
Bug: 128609620
Test: atest CtsTelephonyTestCases:ServiceStateTest
Change-Id: I40a7d0b7ebab6d2a1be47ea63a6d223c4c13700b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions