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

Commit 20a2f3ca authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Revert "feat: Hide folder from recent panel"

This reverts commit d2c5dae8.
parent bde72474
Loading
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -169,7 +169,6 @@ public class GridFolder extends Folder implements OnAlarmListener {

    @Override
    public void onFolderOpenStart() {
        setVisibility(View.VISIBLE);
        mLastStateBeforeOpen = mLauncher.getStateManager().getState();
        if (!mLauncher.isInState(NORMAL)) {
            mLauncher.getStateManager().goToState(LauncherState.NORMAL, false);
+0 −7
Original line number Diff line number Diff line
@@ -110,7 +110,6 @@ import com.android.launcher3.anim.PendingAnimation;
import com.android.launcher3.appprediction.PredictionRowView;
import com.android.launcher3.config.FeatureFlags;
import com.android.launcher3.dragndrop.DragOptions;
import com.android.launcher3.folder.Folder;
import com.android.launcher3.hybridhotseat.HotseatPredictionController;
import com.android.launcher3.logging.InstanceId;
import com.android.launcher3.logging.StatsLogManager;
@@ -441,13 +440,7 @@ public class QuickstepLauncher extends Launcher {
            } else {
                SystemUiProxy.INSTANCE.get(this).setShelfHeight(visible, profile.hotseatBarSizePx);
            }

            Folder folder = Folder.getOpen(this);
            if (folder != null && !folder.isFolderWobbling()) {
                folder.setVisibility((state == NORMAL) ? View.VISIBLE : View.INVISIBLE);
            }
        }

        if (state == NORMAL && !inTransition) {
            ((RecentsView) getOverviewPanel()).setSwipeDownShouldLaunchApp(false);
        }
+0 −7
Original line number Diff line number Diff line
@@ -312,13 +312,6 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo
        return startDrag(v, new DragOptions());
    }

    public boolean isFolderWobbling() {
        Launcher launcher = mLauncherDelegate.getLauncher();
        if (launcher != null) {
            return launcher.getWorkspace().isWobbling();
        } else return false;
    }

    public boolean startDrag(View v, DragOptions options) {
        Object tag = v.getTag();
        if (tag instanceof WorkspaceItemInfo) {