Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87f8ec49 authored by Ugo Yu's avatar Ugo Yu
Browse files

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
parent 60e7162e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@ 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,
    public static boolean sameCapabilities(BluetoothCodecConfig[] c1,
                                           BluetoothCodecConfig[] c2) {
        if (c1 == null) {
            return (c2 == null);