OSDN Git Service

[AWARE] Make PeerHandle comparable/hashable
authorEtan Cohen <etancohen@google.com>
Mon, 4 Dec 2017 15:53:31 +0000 (07:53 -0800)
committerEtan Cohen <etancohen@google.com>
Thu, 7 Dec 2017 21:45:54 +0000 (13:45 -0800)
commit5a49329ace3c328779d6d8fd20aa9e03a2cfd43c
treed687199ef8716e39217e91e7a564e08560ca1e36
parentb76e984536b0c7d21c4d2919cb2912e5800136f4
[AWARE] Make PeerHandle comparable/hashable

Add public equals()/hash() methods to PeerHandle. Allows the handle to
be used across multiple calls/sessions.

(cherry-pick of commit 4454bda052aea4087880674bb0e0f81ce2647009)

Bug: 68931709
Test: builds, unit test, integration test
Change-Id: Id06659a640931585893f21b9ee04982d921fe511
Merged-In: I87df50edb948a7afc90e496165013235ddca1e48
wifi/java/android/net/wifi/aware/PeerHandle.java