Skip to content
Snippets Groups Projects
Commit 7d487f40 authored by Brian Stack's avatar Brian Stack
Browse files

Implement SessionHandle.hashCode()

Bug: 178807258
Test: atest UwbManagerTests
Change-Id: Ib3d518c136282393f4f3bb06388404f76fad5b73
parent 02fe346e
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,8 @@ package android.uwb;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.Objects;
/**
* @hide
*/
......@@ -72,6 +74,11 @@ public final class SessionHandle implements Parcelable {
return false;
}
@Override
public int hashCode() {
return Objects.hashCode(mId);
}
@Override
public String toString() {
return "SessionHandle [id=" + mId + "]";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment