summaryrefslogtreecommitdiff
path: root/InCallUI
diff options
context:
space:
mode:
authorBrandon Maxwell <maxwelb@google.com>2015-12-21 15:51:38 -0800
committerandroid-build-merger <android-build-merger@google.com>2015-12-21 15:51:38 -0800
commitf4c4436b0f75c923a8cf85b4c0e7af559ce62f22 (patch)
tree310593333845d67212486c37f49d91c245f10093 /InCallUI
parentc5fd76acabbc1cec512d1174b703748721476042 (diff)
parent4a759aac9e6a3047f254fc2c71076207f39b33b8 (diff)
Backporting use of TelecomManager#silenceRinger
am: 53cc39ad1c * commit '53cc39ad1c30da9aa7b6743813b9dc1b9bef5edc': Backporting use of TelecomManager#silenceRinger
Diffstat (limited to 'InCallUI')
-rw-r--r--InCallUI/src/com/android/incallui/InCallPresenter.java3
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);
}
}
};