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

Commit e3c502c5 authored by Josep del Rio's avatar Josep del Rio Committed by Android Build Coastguard Worker
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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:38d3d9e54942cdb45867745facd241f13988e6b0)
Merged-In: I1ec89ecfc77d743a758b1660567e2b13844528ed
Change-Id: I1ec89ecfc77d743a758b1660567e2b13844528ed
parent 58f6bc7e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4313,6 +4313,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);
        }
@@ -4363,6 +4364,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
        if (statusbar != null) {
            statusbar.showRecentApps(triggeredFromAltTab);
        }
        dismissKeyboardShortcutsMenu();
    }

    private void toggleKeyboardShortcutsMenu(int deviceId) {