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

Commit 1c76ccfd authored by randypfohl's avatar randypfohl Committed by Automerger Merge Worker
Browse files

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

parents 24d3af52 03d29305
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -32,7 +32,6 @@ import android.os.Build;
import android.util.AttributeSet;
import android.util.AttributeSet;
import android.util.Log;
import android.util.Log;
import android.view.MotionEvent;
import android.view.MotionEvent;
import android.view.Surface;


import androidx.annotation.Nullable;
import androidx.annotation.Nullable;


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

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


    @Override
    @Override