Emergency redial implementation

Define connection event to notify
Telecom/InCallUi about change in
account handle after redial and extra
for emergency phone handle.

Test: Unit Tests
Bug: 27059146
Change-Id: Ie72ab2901ec05d972204ed11f115a05b79173c1d
This commit is contained in:
Srikanth Chintala
2017-05-04 20:58:34 +05:30
committed by Brad Ebinger
parent 4a4db678aa
commit 732b7fb249
7 changed files with 83 additions and 9 deletions

View File

@@ -1332,6 +1332,14 @@ public abstract class ConnectionService extends Service {
mAdapter.onRemoteRttRequest(id);
}
}
@Override
public void onPhoneAccountChanged(Connection c, PhoneAccountHandle pHandle) {
String id = mIdByConnection.get(c);
if (id != null) {
mAdapter.onPhoneAccountChanged(id, pHandle);
}
}
};
/** {@inheritDoc} */