Skip to content

Commit 049f5cc

Browse files
Jaikumar GaneshAndroid (Google) Code Review
authored andcommitted
Merge "Don't override the hash code for the channel."
2 parents 92bda84 + 61eb5ae commit 049f5cc

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

core/java/android/server/BluetoothHealthProfileHandler.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,6 @@ class HealthChannel {
7777
mConfig = config;
7878
mState = BluetoothHealth.STATE_CHANNEL_DISCONNECTED;
7979
}
80-
81-
@Override
82-
public int hashCode() {
83-
int result = 17;
84-
result = 31 * result + (mChannelPath == null ? 0 : mChannelPath.hashCode());
85-
result = 31 * result + mDevice.hashCode();
86-
result = 31 * result + mConfig.hashCode();
87-
result = 31 * result + mChannelType;
88-
return result;
89-
}
9080
}
9181

9282
private final Handler mHandler = new Handler() {

0 commit comments

Comments
 (0)