Ensure call direction for CEP participants is unknown to start.
Ensure the call direction property for CEP participants starts as unknown;
we will update it based on cached call data later.
Test: Run all unit tests.
Test: Manual testing using VoLTE conference calls with mix of MO and MT
calls; verify call logging is appropriate.
Bug: 134471046
Change-Id: I15a173fb6685dc78e14ebe817c53bb7cfc236eaf
diff --git a/src/java/com/android/ims/ImsCall.java b/src/java/com/android/ims/ImsCall.java
index e45549a..2ce718d 100644
--- a/src/java/com/android/ims/ImsCall.java
+++ b/src/java/com/android/ims/ImsCall.java
@@ -27,6 +27,7 @@
import android.os.Bundle;
import android.os.Message;
import android.os.Parcel;
+import android.telecom.Call;
import android.telecom.ConferenceParticipant;
import android.telecom.Connection;
import android.telephony.Rlog;
@@ -1873,7 +1874,7 @@
if (connectionState != Connection.STATE_DISCONNECTED) {
ConferenceParticipant conferenceParticipant = new ConferenceParticipant(handle,
- displayName, endpointUri, connectionState);
+ displayName, endpointUri, connectionState, Call.Details.DIRECTION_UNKNOWN);
mConferenceParticipants.add(conferenceParticipant);
}
}