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

Commit 38d3d9e5 authored by Josep del Rio's avatar Josep del Rio
Browse files

Hide shortcut helper on settings/recentapps launch

At the moment, when triggering the settings or recent apps shortcut
the shortcut helper will not go away, obscuring them.

Bug: 324420929
Flag: NA
Test: Flashed on device
Change-Id: I1ec89ecfc77d743a758b1660567e2b13844528ed
parent 53f6ece1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4315,6 +4315,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
            boolean allowDuringSetup) {
        if (allowDuringSetup || isUserSetupComplete()) {
            mContext.startActivityAsUser(intent, bundle, handle);
            dismissKeyboardShortcutsMenu();
        } else {
            Slog.i(TAG, "Not starting activity because user setup is in progress: " + intent);
        }
@@ -4365,6 +4366,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
        if (statusbar != null) {
            statusbar.showRecentApps(triggeredFromAltTab);
        }
        dismissKeyboardShortcutsMenu();
    }

    private void toggleKeyboardShortcutsMenu(int deviceId) {