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

Commit f43c376e authored by Robert Carr's avatar Robert Carr
Browse files

Dismiss system-windows when opening assistant via voice.

As is done when opening the assistant via other triggers.

Bug: 80119551
Test: Manual.
Change-Id: I1c1101855968b7b6bd29848a0f2fcc91b44d87ec
parent 758cfd63
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -6651,6 +6651,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
    }

    void launchVoiceAssistWithWakeLock() {
        sendCloseSystemWindows(SYSTEM_DIALOG_REASON_ASSIST);

        final Intent voiceIntent;
        if (!keyguardOn()) {
            voiceIntent = new Intent(RecognizerIntent.ACTION_WEB_SEARCH);