diff --git a/go/quickstep/src/com/android/quickstep/views/GoOverviewActionsView.java b/go/quickstep/src/com/android/quickstep/views/GoOverviewActionsView.java index 97ba5905e0..492611fab9 100644 --- a/go/quickstep/src/com/android/quickstep/views/GoOverviewActionsView.java +++ b/go/quickstep/src/com/android/quickstep/views/GoOverviewActionsView.java @@ -117,7 +117,7 @@ public class GoOverviewActionsView extends OverviewActionsView { if (isRotationEnabled) { @@ -375,13 +375,6 @@ public class RecentsOrientedState implements | FLAG_HOME_ROTATION_FORCE_ENABLED_FOR_TESTING)) != 0; } - /** - * Returns true if the activity can rotate, if allowed by system rotation settings - */ - public boolean canRecentsActivityRotate() { - return (mFlags & FLAG_SYSTEM_ROTATION_ALLOWED) != 0 && isRecentsActivityRotationAllowed(); - } - /** * Enables or disables the rotation watcher for listening to rotation callbacks */ diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index 98f8b728b1..4886267983 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -117,7 +117,6 @@ import com.android.launcher3.InvariantDeviceProfile; import com.android.launcher3.PagedView; import com.android.launcher3.R; import com.android.launcher3.Utilities; -import com.android.launcher3.anim.AnimationSuccessListener; import com.android.launcher3.anim.AnimatorListeners; import com.android.launcher3.anim.AnimatorPlaybackController; import com.android.launcher3.anim.PendingAnimation; @@ -1615,7 +1614,7 @@ public abstract class RecentsView