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

Commit 58aa7a1a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "PTT triggering and on-screen-mic triggering should be treated differently."

parents 60cab470 449b7ea4
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -46,8 +46,6 @@ public class AssitantButton extends CarFacetButton {
                }
            };
    
    private static final String EXTRA_CAR_PUSH_TO_TALK =
            "com.android.car.input.EXTRA_CAR_PUSH_TO_TALK";
    private final AssistUtils mAssistUtils;

    public AssitantButton(Context context, AttributeSet attrs) {
@@ -60,7 +58,6 @@ public class AssitantButton extends CarFacetButton {

    private void showAssistant() {
        final Bundle args = new Bundle();
        args.putBoolean(EXTRA_CAR_PUSH_TO_TALK, true);
        mAssistUtils.showSessionForActiveService(args,
                SHOW_SOURCE_ASSIST_GESTURE, mShowCallback, /*activityToken=*/ null);
    }