Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 049f5cc3 authored by Jaikumar Ganesh's avatar Jaikumar Ganesh Committed by Android (Google) Code Review
Browse files

Merge "Don't override the hash code for the channel."

parents 92bda84b 61eb5ae8
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -77,16 +77,6 @@ final class BluetoothHealthProfileHandler {
             mConfig = config;
             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() {