Follow error prone recommendation
```
ObexServerSockets.java:228: warning:
BluetoothSocket is final and does not override Object.toString
Log.d(mTag, "onConnect() socket: " + conSocket);
^
BluetoothPbapService.java:767: warning:
BluetoothSocket is final and does not override Object.toString
+ " socket=" + socket);
^
AvrcpCoverArtService.java:256: warning:
BluetoothSocket is final and does not override Object.toString
debug("onConnect() - device=" + device + ", socket=" + socket);
^
PbapClientConnectionHandler.java:377: warning:
BluetoothSocket is final and does not override Object.toString
Log.d(TAG, "Closing socket" + mSocket);
^
[...]
(see https://errorprone.info/bugpattern/ObjectToString)
```
Bug: 236759221
Test: m RUN_ERROR_PRONE=true Bluetooth
Ignore-AOSP-First: Cherry-pick of aosp/2133706 to solve merge conflict
Merged-In: I6a49a8ef8c6b380547cbb817468fa33bf89347a3
Change-Id: I6a49a8ef8c6b380547cbb817468fa33bf89347a3
Loading
Please register or sign in to comment