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

Commit eb2d0aad authored by Hall Liu's avatar Hall Liu Committed by Android (Google) Code Review
Browse files

Merge "Check for PROPERTY_IS_DOWNGRADED_CONFERENCE in addExistingConnection" into nyc-mr1-dev

parents 006c299b 4b9e5566
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2000,6 +2000,8 @@ public class CallsManager extends Call.ListenerBase
     * @return The new call.
     */
    Call createCallForExistingConnection(String callId, ParcelableConnection connection) {
        boolean isDowngradedConference = (connection.getConnectionProperties()
                & Connection.PROPERTY_IS_DOWNGRADED_CONFERENCE) != 0;
        Call call = new Call(
                callId,
                mContext,
@@ -2015,7 +2017,7 @@ public class CallsManager extends Call.ListenerBase
                connection.getPhoneAccount(), /* targetPhoneAccountHandle */
                Call.CALL_DIRECTION_UNDEFINED /* callDirection */,
                false /* forceAttachToExistingConnection */,
                false /* isConference */,
                isDowngradedConference /* isConference */,
                connection.getConnectTimeMillis() /* connectTimeMillis */);

        call.initAnalytics();