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

Commit 75d958c4 authored by Maurice Lam's avatar Maurice Lam Committed by Android (Google) Code Review
Browse files

Merge "Disable launching assist during setup" into mnc-dev

parents a42e6816 39d1381e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3114,6 +3114,10 @@ public class PhoneWindowManager implements WindowManagerPolicy {

    private void launchAssistAction(String hint, int deviceId) {
        sendCloseSystemWindows(SYSTEM_DIALOG_REASON_ASSIST);
        if (!isUserSetupComplete()) {
            // Disable opening assist window during setup
            return;
        }
        Bundle args = null;
        if (deviceId > Integer.MIN_VALUE) {
            args = new Bundle();