summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
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 17:26:31 -0700
commita291ce625a4a36d22c764abf31c88ea32f2de688 (patch)
treed184945f2d73b611bfdfbbc784900d1955866af4 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent247ecfa4989c4a2a1096a9960831286cca7eaab5 (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 Merged-In: If22087465397b7c4175c33f7d1909a15d957fb24 (cherry picked from commit 9d36e6babc38cf7017726a587b656bdd6f8b0051)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions