Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aab740c4 authored by Yorke Lee's avatar Yorke Lee Committed by Android (Google) Code Review
Browse files

Merge "Dynamically check for permission denials" into mnc-dev

parents 23d95f34 2da94192
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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();
        }
    }