Change BluetoothCodecStatus.sameCapabilities() to public

- Public this API to help A2DP state machine check selectable
  codec capabilities status.

Bug: 124254557
Bug: 125551347
Test: runtest bluetooth

Change-Id: If44887f756d2e8348e8f76dfb67b77b993ffd8db
This commit is contained in:
Ugo Yu
2019-02-25 21:10:08 +08:00
parent 60e7162e05
commit 87f8ec4965

View File

@@ -74,8 +74,8 @@ public final class BluetoothCodecStatus implements Parcelable {
* @param c2 the second array of capabilities to compare
* @return true if both arrays contain same capabilities
*/
private static boolean sameCapabilities(BluetoothCodecConfig[] c1,
BluetoothCodecConfig[] c2) {
public static boolean sameCapabilities(BluetoothCodecConfig[] c1,
BluetoothCodecConfig[] c2) {
if (c1 == null) {
return (c2 == null);
}