From: Ugo Yu Date: Mon, 25 Feb 2019 13:10:08 +0000 (+0800) Subject: Change BluetoothCodecStatus.sameCapabilities() to public X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=87f8ec4965cc5c81dad015ccb5631f55262b0f0a;p=android-x86%2Fframeworks-base.git 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 --- diff --git a/core/java/android/bluetooth/BluetoothCodecStatus.java b/core/java/android/bluetooth/BluetoothCodecStatus.java index 78560d2de420..32bb681f2e89 100644 --- a/core/java/android/bluetooth/BluetoothCodecStatus.java +++ b/core/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); }