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

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24804147

Change-Id: I12f07376447009d58ee7519b9cd7433ac544191a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
randypfohl
2023-09-21 16:51:04 +00:00
committed by Automerger Merge Worker

View File

@@ -32,7 +32,6 @@ import android.os.Build;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import android.view.Surface;
import androidx.annotation.Nullable;
@@ -130,7 +129,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