diff options
-rw-r--r-- | InCallUI/src/com/android/incallui/InCallServiceImpl.java | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/InCallUI/src/com/android/incallui/InCallServiceImpl.java b/InCallUI/src/com/android/incallui/InCallServiceImpl.java index 6e5ea28bb..bcafbee4f 100644 --- a/InCallUI/src/com/android/incallui/InCallServiceImpl.java +++ b/InCallUI/src/com/android/incallui/InCallServiceImpl.java @@ -91,21 +91,31 @@ public class InCallServiceImpl extends InCallService { } /** {@inheritDoc} */ - @Override protected void setPostDial(String callId, String remaining) { + @Override + protected void setPostDial(String callId, String remaining) { // TODO(ihab): Add post-dial state to user interface } /** {@inheritDoc} */ - @Override protected void setPostDialWait(String callId, String remaining) { + @Override + protected void setPostDialWait(String callId, String remaining) { // TODO(ihab): Add post-dial state to user interface } /** {@inheritDoc} */ - @Override protected void onAudioStateChanged(CallAudioState audioState) { + @Override + protected void onAudioStateChanged(CallAudioState audioState) { AudioModeProvider.getInstance().onAudioModeChange(audioState.route, audioState.isMuted); AudioModeProvider.getInstance().onSupportedAudioModeChange(audioState.supportedRouteMask); } + /** {@inheritDoc} */ + @Override + protected void bringToForeground(boolean showDialpad) { + Log.i(this, "Bringing UI to foreground."); + InCallPresenter.getInstance().bringToForeground(showDialpad); + } + private void updateCall(Call call, InCallCall telecommCall) { call.setHandle(telecommCall.getHandle()); call.setDisconnectCause(telecommCall.getDisconnectCause()); |