summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorPavlin Radoslavov <pavlin@google.com>2016-05-06 12:05:47 -0700
committerPavlin Radoslavov <pavlin@google.com>2016-05-06 12:05:47 -0700
commitf74b830e681ad321dda5756616371d493fe5110c (patch)
tree1b58f6e28df812cd67edc42a49fe752279be6ce0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parente3a25ad692cf88455222522542fe374a41024ccf (diff)
Fix divergent equals and hashCode behavior
Calling Objects.hash with a byte[] will call the identity hashCode on the byte[] and this doesn't agree with the use of Objects.deepEquals in equals. Bug caught by error prone. Also, replaced usage of Objects.deepEquals(mServiceDataUuid, ...) with Objects.equals(mServiceDataUuid, ...), because mServiceDataUuid is an Object of type ParcelUuid. Bug: 28585195 Change-Id: Id92734874339985fedafe1a28286a6a4dcd88d3b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions