Loading src/com/android/server/telecom/Call.java +11 −0 Original line number Diff line number Diff line Loading @@ -2540,6 +2540,17 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable, } } boolean completedProcessingAllAttempts() { if (mCreateConnectionProcessor != null) { return (!mCreateConnectionProcessor.isCallTimedOut() && mCreateConnectionProcessor.isProcessingComplete()); } else { // If mCreateConnectionProcessor is null then there are no attempts to process: return true; } } /** * Starts the create connection sequence. Upon completion, there should exist an active * connection through a connection service (or the call will have failed). Loading src/com/android/server/telecom/ConnectionServiceWrapper.java +11 −1 Original line number Diff line number Diff line Loading @@ -385,7 +385,15 @@ public class ConnectionServiceWrapper extends ServiceBinder implements mCallsManager.markCallAsDisconnected( call, new DisconnectCause(DisconnectCause.REMOTE)); } if (!mFlags.updatedRcsCallCountTracking()){ mCallsManager.markCallAsRemoved(call); } else if (call.completedProcessingAllAttempts() || !call.isEmergencyCall()) { mCallsManager.markCallAsRemoved(call); } else { Log.i(this, "removeCall: emergency call has not " + "completed processing all attempts so skipping removal"); } } } } catch (Throwable t) { Loading Loading @@ -1349,6 +1357,7 @@ public class ConnectionServiceWrapper extends ServiceBinder implements private final CallsManager mCallsManager; private final AppOpsManager mAppOpsManager; private final Context mContext; private final FeatureFlags mFlags; private ConnectionServiceFocusManager.ConnectionServiceFocusListener mConnSvrFocusListener; Loading Loading @@ -1383,6 +1392,7 @@ public class ConnectionServiceWrapper extends ServiceBinder implements mCallsManager = callsManager; mAppOpsManager = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); mContext = context; mFlags = featureFlags; } /** See {@link IConnectionService#addConnectionServiceAdapter}. */ Loading Loading
src/com/android/server/telecom/Call.java +11 −0 Original line number Diff line number Diff line Loading @@ -2540,6 +2540,17 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable, } } boolean completedProcessingAllAttempts() { if (mCreateConnectionProcessor != null) { return (!mCreateConnectionProcessor.isCallTimedOut() && mCreateConnectionProcessor.isProcessingComplete()); } else { // If mCreateConnectionProcessor is null then there are no attempts to process: return true; } } /** * Starts the create connection sequence. Upon completion, there should exist an active * connection through a connection service (or the call will have failed). Loading
src/com/android/server/telecom/ConnectionServiceWrapper.java +11 −1 Original line number Diff line number Diff line Loading @@ -385,7 +385,15 @@ public class ConnectionServiceWrapper extends ServiceBinder implements mCallsManager.markCallAsDisconnected( call, new DisconnectCause(DisconnectCause.REMOTE)); } if (!mFlags.updatedRcsCallCountTracking()){ mCallsManager.markCallAsRemoved(call); } else if (call.completedProcessingAllAttempts() || !call.isEmergencyCall()) { mCallsManager.markCallAsRemoved(call); } else { Log.i(this, "removeCall: emergency call has not " + "completed processing all attempts so skipping removal"); } } } } catch (Throwable t) { Loading Loading @@ -1349,6 +1357,7 @@ public class ConnectionServiceWrapper extends ServiceBinder implements private final CallsManager mCallsManager; private final AppOpsManager mAppOpsManager; private final Context mContext; private final FeatureFlags mFlags; private ConnectionServiceFocusManager.ConnectionServiceFocusListener mConnSvrFocusListener; Loading Loading @@ -1383,6 +1392,7 @@ public class ConnectionServiceWrapper extends ServiceBinder implements mCallsManager = callsManager; mAppOpsManager = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); mContext = context; mFlags = featureFlags; } /** See {@link IConnectionService#addConnectionServiceAdapter}. */ Loading