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

Commit e17e7b7d authored by Pranav Madapurmath's avatar Pranav Madapurmath Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE in CallAudioRouteController" into main

parents bec2a436 2e0acb99
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1015,6 +1015,7 @@ public class CallAudioRouteController implements CallAudioRouteAdapter {
        Log.i(this, "handleSwitchBaselineRoute: includeBluetooth: %b, "
                + "btAddressToExclude: %s", includeBluetooth, btAddressToExclude);
        boolean areExcludedBtAndDestBtSame = btAddressToExclude != null
                && mPendingAudioRoute.getDestRoute() != null
                && Objects.equals(btAddressToExclude, mPendingAudioRoute.getDestRoute()
                .getBluetoothAddress());
        Pair<Integer, String> btDevicePendingMsg =