diff options
author | Brandon Maxwell <maxwelb@google.com> | 2015-12-21 12:01:35 -0800 |
---|---|---|
committer | Brandon Maxwell <maxwelb@google.com> | 2015-12-21 12:01:35 -0800 |
commit | 4a759aac9e6a3047f254fc2c71076207f39b33b8 (patch) | |
tree | 2fd6961398d619d59389abb549b489098c35efd1 /InCallUI | |
parent | 9b70c293ad0a2bf343a93701a37a5f152c6a4214 (diff) |
Backporting use of TelecomManager#silenceRinger
Bug=25776171
Change-Id: Ie9604c0c52fc3927cfd13c7903a53a4233accf99
Diffstat (limited to 'InCallUI')
-rw-r--r-- | InCallUI/src/com/android/incallui/InCallPresenter.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/InCallUI/src/com/android/incallui/InCallPresenter.java b/InCallUI/src/com/android/incallui/InCallPresenter.java index 4bb86d004..d4dbda82a 100644 --- a/InCallUI/src/com/android/incallui/InCallPresenter.java +++ b/InCallUI/src/com/android/incallui/InCallPresenter.java @@ -54,6 +54,7 @@ import com.android.dialer.database.FilteredNumberAsyncQueryHandler.OnCheckBlocke import com.android.dialer.filterednumber.FilteredNumbersUtil; import com.android.dialer.logging.InteractionEvent; import com.android.dialer.logging.Logger; +import com.android.dialer.util.TelecomUtil; import com.android.incallui.compat.telecom.DetailsCompat; import com.android.incallui.util.TelecomCallUtil; import com.android.incalluibind.ObjectFactory; @@ -237,7 +238,7 @@ public class InCallPresenter implements CallList.Listener, if (id != null) { // Silence the ringer now to prevent ringing and vibration before the call is // terminated when Telecom attempts to add it. - getTelecomManager().silenceRinger(); + TelecomUtil.silenceRinger(mContext); } } }; |