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:45:43 -0700
commit2f463d4c8b0e9a515cb9c0548aa752678f722a7c (patch)
tree3167da7225c0299eb4694733bf44085e3e678931 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent5df0ee53acc90e174f59be6c3c0fe52fd778a66e (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