diff options
author | Ugo Yu <ugoyu@google.com> | 2019-02-25 21:10:08 +0800 |
---|---|---|
committer | Ugo Yu <ugoyu@google.com> | 2019-02-27 19:49:13 +0800 |
commit | 5075a69b222e323a8eb91fa1eb20a9f33068d3ff (patch) | |
tree | a6a3c2f2d6bcebcd3551f64e7f725fbea8400a46 /framework/java/android/bluetooth/BluetoothCodecStatus.java | |
parent | ec8d4cb38737c9955c68c927fb86d2142188c79b (diff) |
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
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothCodecStatus.java')
-rw-r--r-- | framework/java/android/bluetooth/BluetoothCodecStatus.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/java/android/bluetooth/BluetoothCodecStatus.java b/framework/java/android/bluetooth/BluetoothCodecStatus.java index 78560d2de4..32bb681f2e 100644 --- a/framework/java/android/bluetooth/BluetoothCodecStatus.java +++ b/framework/java/android/bluetooth/BluetoothCodecStatus.java @@ -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); } |