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

Commit d5c2fcf3 authored by Andrew Lee's avatar Andrew Lee
Browse files

Fix connection <=> call capability conversion.

Bug: 18583954
Bug: 18292176
Change-Id: I8c9b44375845fc802c2bffe32a575241a553e68d
parent 15a71555
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -588,7 +588,7 @@ public final class InCallController extends CallsManagerListenerBase {
        int callCapabilities = 0;
        for (int i = 0; i < CONNECTION_TO_CALL_CAPABILITY.length; i += 2) {
            if ((CONNECTION_TO_CALL_CAPABILITY[i] & connectionCapabilities) != 0) {
                callCapabilities &= CONNECTION_TO_CALL_CAPABILITY[i + 1];
                callCapabilities |= CONNECTION_TO_CALL_CAPABILITY[i + 1];
            }
        }
        return callCapabilities;