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

Commit b3c8a0b6 authored by Abhishek Aggarwal's avatar Abhishek Aggarwal Committed by Mohammed Althaf T
Browse files

[tmp] folder: Dont close opened folder

parent a7281661
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -590,7 +590,7 @@ public abstract class AbsSwipeUpHandler<
            }
        }
        AbstractFloatingView.closeAllOpenViewsExcept(container, mWasLauncherAlreadyVisible,
                AbstractFloatingView.TYPE_LISTENER);
                AbstractFloatingView.TYPE_LISTENER | AbstractFloatingView.TYPE_FOLDER);

        if (mWasLauncherAlreadyVisible) {
            mStateCallback.setState(STATE_LAUNCHER_DRAWN);
+1 −1
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ public abstract class AbstractFloatingView extends LinearLayout implements Touch
            | TYPE_WIDGETS_BOTTOM_SHEET | TYPE_ON_BOARD_POPUP | TYPE_DISCOVERY_BOUNCE
            | TYPE_ALL_APPS_EDU | TYPE_ICON_SURFACE | TYPE_TASKBAR_EDUCATION_DIALOG
            | TYPE_TASKBAR_ALL_APPS | TYPE_OPTIONS_POPUP_DIALOG | TYPE_TASKBAR_OVERLAY_PROXY
            | TYPE_PIN_IME_POPUP;
            | TYPE_PIN_IME_POPUP | TYPE_FOLDER;

    /** Type of popups that should get exclusive accessibility focus. */
    public static final int TYPE_ACCESSIBLE = TYPE_ALL & ~TYPE_DISCOVERY_BOUNCE & ~TYPE_LISTENER
+5 −2
Original line number Diff line number Diff line
@@ -1701,9 +1701,12 @@ public class Launcher extends StatefulActivity<LauncherState>
        if (isActionMain) {
            mAppMonitor.onReceiveHomeIntent();
            if (!internalStateHandled) {
                Folder openFolder = Folder.getOpen(this);
                // In all these cases, only animate if we're already on home
                if (openFolder != null && alreadyOnHome) {
                    AbstractFloatingView.closeAllOpenViewsExcept(
                            this, isStarted(), AbstractFloatingView.TYPE_LISTENER);
                }

                if (!isInState(NORMAL)) {
                    // Only change state, if not already the same. This prevents cancelling any