OSDN Git Service

Update ServiceState.hashCode()
authorNathan Harold <nharold@google.com>
Thu, 28 Jun 2018 00:07:52 +0000 (17:07 -0700)
committerNathan Harold <nharold@google.com>
Thu, 28 Jun 2018 00:13:03 +0000 (17:13 -0700)
commitb220fde2965de29694222e3607f0425cf77429ae
tree93af18a1b0b93a3fdc91a90cd05ba2c2bba59760
parentaf228ca978941f98d54ba70f7bfc790cf2d69f51
Update ServiceState.hashCode()

hashCode() was missing about 10 fields and was
using some unnecessary bespoke logic to generate
hashes for individual fields. This CL simplifies
the hashCode() implementation and adds the missing
fields.

Bug: 8675309
Test: compilation
Change-Id: I1424973b11fcc6480d6f8c83d5fd0eb1b5533c7f
telephony/java/android/telephony/ServiceState.java