Emergency redial implementation
Define connection event to notify Telecom/InCallUi about change in account handle after redial and extra for emergency phone handle. Bug: 27059146 Change-Id: Ie72ab2901ec05d972204ed11f115a05b79173c1d
This commit is contained in:
committed by
Brad Ebinger
parent
0172ce8dbf
commit
fcb1501620
@@ -609,4 +609,20 @@ final class ConnectionServiceAdapter implements DeathRecipient {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Notifies Telecom that a call's PhoneAccountHandle has changed.
|
||||
*
|
||||
* @param callId The unique ID of the call.
|
||||
* @param pHandle The new PhoneAccountHandle associated with the call.
|
||||
*/
|
||||
void onPhoneAccountChanged(String callId, PhoneAccountHandle pHandle) {
|
||||
for (IConnectionServiceAdapter adapter : mAdapters) {
|
||||
try {
|
||||
Log.d(this, "onPhoneAccountChanged %s", callId);
|
||||
adapter.onPhoneAccountChanged(callId, pHandle, Log.getExternalSession());
|
||||
} catch (RemoteException ignored) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user