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

Commit 6ef58987 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Don't show orb when voice session is already running

Bug: 22195186
Change-Id: I7839536d2f6362889a924b65011d80556f0176b8
parent 3b866bee
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -131,7 +131,7 @@ public class AssistManager {
        }

        final boolean isService = isAssistantService();
        if (isService || !isVoiceSessionRunning()) {
        if (!isService || !isVoiceSessionRunning()) {
            showOrb();
            mView.postDelayed(mHideRunnable, isService
                    ? TIMEOUT_SERVICE
@@ -227,10 +227,6 @@ public class AssistManager {
        mAssistUtils.launchVoiceAssistFromKeyguard();
    }

    private boolean getVoiceInteractorSupportsAssistGesture() {
        return mAssistUtils.activeServiceSupportsAssistGesture();
    }

    public boolean canVoiceAssistBeLaunchedFromKeyguard() {
        return mAssistUtils.activeServiceSupportsLaunchFromKeyguard();
    }