diff options
Diffstat (limited to 'InCallUI/src/com')
-rw-r--r-- | InCallUI/src/com/android/incallui/AnswerPresenter.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/InCallUI/src/com/android/incallui/AnswerPresenter.java b/InCallUI/src/com/android/incallui/AnswerPresenter.java index 6628f2f86..9decb7b21 100644 --- a/InCallUI/src/com/android/incallui/AnswerPresenter.java +++ b/InCallUI/src/com/android/incallui/AnswerPresenter.java @@ -18,6 +18,7 @@ package com.android.incallui; import android.content.Context; +import com.android.dialer.util.TelecomUtil; import com.android.incallui.InCallPresenter.InCallState; import android.telecom.TelecomManager; import android.telecom.VideoProfile; @@ -249,7 +250,7 @@ public class AnswerPresenter extends Presenter<AnswerPresenter.AnswerUi> public void onText() { if (getUi() != null) { - InCallPresenter.getInstance().getTelecomManager().silenceRinger(); + TelecomUtil.silenceRinger(getUi().getContext()); getUi().showMessageDialog(); } } |