aboutsummaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothMapClient.java
diff options
context:
space:
mode:
authorPavlin Radoslavov <pavlin@google.com>2018-04-19 14:16:15 -0700
committerPavlin Radoslavov <pavlin@google.com>2018-04-19 14:36:18 -0700
commit93e6d423f62546155b9316a399ab786f8d057dc5 (patch)
tree946a0571275e1176e1a5c3021c692d7066390d1f /framework/java/android/bluetooth/BluetoothMapClient.java
parent90e13c0b0d94bc5bef0c2be24bd51422075a83e8 (diff)
Fix the implementation of BluetoothCodecStatus.equals()
Previously, the BluetoothCodecStatus.equals() implementation was incorrect when comparing arrays of capabilities. In the new implementation, the arrays are compared correctly, and also the ordering of the capabilities in each array is ignored. Also, added unit tests for class BluetoothCodecConfig and class BluetoothCodecStatus. Bug: 73404858 Bug: 73379307 Test: Unit tests (in frameworks/base) runtest --path core/tests/bluetoothtests/src/android/bluetooth/BluetoothCodecConfigTest.java runtest --path core/tests/bluetoothtests/src/android/bluetooth/BluetoothCodecStatusTest.java Change-Id: If22087465397b7c4175c33f7d1909a15d957fb24
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothMapClient.java')
0 files changed, 0 insertions, 0 deletions