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

Commit 0f4fa602 authored by Maurice Lam's avatar Maurice Lam Committed by Android Git Automerger
Browse files

am 8abee2a6: am 103e96c5: am 34f86392: am 4c927895: am 75d958c4: Merge...

am 8abee2a6: am 103e96c5: am 34f86392: am 4c927895: am 75d958c4: Merge "Disable launching assist during setup" into mnc-dev

* commit '8abee2a6':
  Disable launching assist during setup
parents ae5345c8 8abee2a6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3143,6 +3143,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();