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

Commit f2752d03 authored by Yiyi Shen's avatar Yiyi Shen Committed by Android (Google) Code Review
Browse files

Merge "[Cleanup] Clean up flag ignore_a2dp_disconnection_for_android_auto" into main

parents bd4c1c7a 7d5f8a3c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -300,8 +300,7 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice>
                            mHandler.removeMessages(profile.getProfileId());
                            if (profile.getConnectionPolicy(mDevice) >
                                    BluetoothProfile.CONNECTION_POLICY_FORBIDDEN) {
                                if (Flags.ignoreA2dpDisconnectionForAndroidAuto()
                                        && profile instanceof A2dpProfile && isAndroidAuto()) {
                                if (profile instanceof A2dpProfile && isAndroidAuto()) {
                                    Log.w(TAG,
                                            "onProfileStateChanged(): Skip setting A2DP "
                                                    + "connection fail for Android Auto");