commit | 34a7d13a65ab5734cd35c00863aa06ce54858ff0 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Sun Mar 15 14:38:59 2015 -0700 |
committer | Andreas Gampe <agampe@google.com> | Sun Mar 15 14:38:59 2015 -0700 |
tree | 3a22adb534b224b99910075d1fb17d865b72a2a8 | |
parent | 30fcd2aa8a87ca97e1d6dbc3203c3a485a56dac9 [diff] |
Frameworks/base: Fix a hashCode implementation Equals uses Arrays.equals. That means two responses are equal if the content of the data arrays is equal. By convention, the hash code of those objects should agree. In that case one cannot use hashCode on the array (which is the identity hash code). Change-Id: Icce8e2e71e9142421f5dac8a0ee8a211623fb704