Merge "Don't override the hash code for the channel."
This commit is contained in:
committed by
Android (Google) Code Review
commit
049f5cc3de
@@ -77,16 +77,6 @@ final class BluetoothHealthProfileHandler {
|
|||||||
mConfig = config;
|
mConfig = config;
|
||||||
mState = BluetoothHealth.STATE_CHANNEL_DISCONNECTED;
|
mState = BluetoothHealth.STATE_CHANNEL_DISCONNECTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public int hashCode() {
|
|
||||||
int result = 17;
|
|
||||||
result = 31 * result + (mChannelPath == null ? 0 : mChannelPath.hashCode());
|
|
||||||
result = 31 * result + mDevice.hashCode();
|
|
||||||
result = 31 * result + mConfig.hashCode();
|
|
||||||
result = 31 * result + mChannelType;
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private final Handler mHandler = new Handler() {
|
private final Handler mHandler = new Handler() {
|
||||||
|
|||||||
Reference in New Issue
Block a user