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

Commit 2cf90775 authored by randypfohl's avatar randypfohl Committed by Automerger Merge Worker
Browse files

Setting recentsView orientation to match recents activity orientation am: 03d29305 am: 1c76ccfd

parents 40b6a19f 1c76ccfd
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -31,7 +31,6 @@ import android.content.Context;
import android.os.Build;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.Surface;

import androidx.annotation.Nullable;

@@ -128,7 +127,9 @@ public class LauncherRecentsView extends RecentsView<QuickstepLauncher, Launcher
    @Override
    public void reset() {
        super.reset();
        setLayoutRotation(Surface.ROTATION_0, Surface.ROTATION_0);

        int recentsActivityRotation = getPagedViewOrientedState().getRecentsActivityRotation();
        setLayoutRotation(recentsActivityRotation, recentsActivityRotation);
    }

    @Override