Loading src/com/android/server/telecom/Call.java +5 −1 Original line number Diff line number Diff line Loading @@ -254,7 +254,7 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable, /** * The post-dial digits that were dialed after the network portion of the number */ private final String mPostDialDigits; private String mPostDialDigits; /** * The secondary line number that an incoming call has been received on if the SIM subscription Loading Loading @@ -1005,6 +1005,10 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable, return mPostDialDigits; } public void clearPostDialDigits() { mPostDialDigits = null; } public String getViaNumber() { return mViaNumber; } Loading src/com/android/server/telecom/ConnectionServiceWrapper.java +8 −0 Original line number Diff line number Diff line Loading @@ -1662,6 +1662,14 @@ public class ConnectionServiceWrapper extends ServiceBinder implements if (connection.getState() == Connection.STATE_DISCONNECTED) { // A connection that begins in the DISCONNECTED state is an indication of // failure to connect; we handle all failures uniformly Call foundCall = mCallIdMapper.getCall(callId); if (foundCall != null) { // The post-dial digits are created when the call is first created. Normally // the ConnectionService is responsible for stripping them from the address, but // since a failed connection will not have done this, we could end up with duplicate // post-dial digits. foundCall.clearPostDialDigits(); } removeCall(callId, connection.getDisconnectCause()); } else { // Successful connection Loading Loading
src/com/android/server/telecom/Call.java +5 −1 Original line number Diff line number Diff line Loading @@ -254,7 +254,7 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable, /** * The post-dial digits that were dialed after the network portion of the number */ private final String mPostDialDigits; private String mPostDialDigits; /** * The secondary line number that an incoming call has been received on if the SIM subscription Loading Loading @@ -1005,6 +1005,10 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable, return mPostDialDigits; } public void clearPostDialDigits() { mPostDialDigits = null; } public String getViaNumber() { return mViaNumber; } Loading
src/com/android/server/telecom/ConnectionServiceWrapper.java +8 −0 Original line number Diff line number Diff line Loading @@ -1662,6 +1662,14 @@ public class ConnectionServiceWrapper extends ServiceBinder implements if (connection.getState() == Connection.STATE_DISCONNECTED) { // A connection that begins in the DISCONNECTED state is an indication of // failure to connect; we handle all failures uniformly Call foundCall = mCallIdMapper.getCall(callId); if (foundCall != null) { // The post-dial digits are created when the call is first created. Normally // the ConnectionService is responsible for stripping them from the address, but // since a failed connection will not have done this, we could end up with duplicate // post-dial digits. foundCall.clearPostDialDigits(); } removeCall(callId, connection.getDisconnectCause()); } else { // Successful connection Loading