Loading quickstep/src/com/android/quickstep/TaskShortcutFactory.java +1 −11 Original line number Diff line number Diff line Loading @@ -493,19 +493,9 @@ public interface TaskShortcutFactory { TaskContainer taskContainer) { boolean isTablet = container.getDeviceProfile().isTablet; boolean isGridOnlyOverview = isTablet && Flags.enableGridOnlyOverview(); // Extra conditions if it's not grid-only overview if (!isGridOnlyOverview) { RecentsOrientedState orientedState = taskContainer.getTaskView().getOrientedState(); boolean isFakeLandscape = !orientedState.isRecentsActivityRotationAllowed() && orientedState.getTouchRotation() != ROTATION_0; if (!isFakeLandscape) { return null; } // Disallow "Select" when swiping up from landscape due to rotated thumbnail. if (orientedState.getDisplayRotation() != ROTATION_0) { return null; } } SystemShortcut modalStateSystemShortcut = taskContainer.getOverlay().getModalStateSystemShortcut( Loading Loading
quickstep/src/com/android/quickstep/TaskShortcutFactory.java +1 −11 Original line number Diff line number Diff line Loading @@ -493,19 +493,9 @@ public interface TaskShortcutFactory { TaskContainer taskContainer) { boolean isTablet = container.getDeviceProfile().isTablet; boolean isGridOnlyOverview = isTablet && Flags.enableGridOnlyOverview(); // Extra conditions if it's not grid-only overview if (!isGridOnlyOverview) { RecentsOrientedState orientedState = taskContainer.getTaskView().getOrientedState(); boolean isFakeLandscape = !orientedState.isRecentsActivityRotationAllowed() && orientedState.getTouchRotation() != ROTATION_0; if (!isFakeLandscape) { return null; } // Disallow "Select" when swiping up from landscape due to rotated thumbnail. if (orientedState.getDisplayRotation() != ROTATION_0) { return null; } } SystemShortcut modalStateSystemShortcut = taskContainer.getOverlay().getModalStateSystemShortcut( Loading