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

Commit 7d5f8a3c authored by Yiyi Shen's avatar Yiyi Shen
Browse files

[Cleanup] Clean up flag ignore_a2dp_disconnection_for_android_auto

Test: atest
Bug: 409604671
Flag: EXEMPT clean up flag
Change-Id: I544dc436f3875c030b152b1dd135559dd99b1d7a
parent c6dc738d
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");