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

Commit 4a312500 authored by Tyler Gunn's avatar Tyler Gunn Committed by Android (Google) Code Review
Browse files

Merge "Correct issue in unflagged code path for separatelyBindToBtIncallService." into main

parents e811771c 5abc112a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2428,7 +2428,9 @@ public class InCallController extends CallsManagerListenerBase implements
        }

        String bluetoothPackage = mDefaultDialerCache.getBTInCallServicePackage();
        if (serviceInfo.packageName != null && serviceInfo.packageName.equals(bluetoothPackage)
        if (mFeatureFlags.separatelyBindToBtIncallService()
                && serviceInfo.packageName != null
                && serviceInfo.packageName.equals(bluetoothPackage)
                && (hasControlInCallPermission || hasAppOpsPermittedManageOngoingCalls)) {
            return IN_CALL_SERVICE_TYPE_BLUETOOTH;
        }