Update KQS overview launch animation
Updated the KQS overview launch animation to match the spec: open overview and scroll to the focused task in one fluid motion Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED Fixes: 313608085 Test: Opened KQS from home and overview Change-Id: I2d617db29ff46e89fab50bb6f8aee900b6fe649f
This commit is contained in:
@@ -22,6 +22,7 @@ import android.content.pm.ActivityInfo;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
|
||||
import com.android.launcher3.R;
|
||||
import com.android.launcher3.statehandlers.DesktopVisibilityController;
|
||||
@@ -47,7 +48,8 @@ import java.util.stream.Collectors;
|
||||
public final class KeyboardQuickSwitchController implements
|
||||
TaskbarControllers.LoggableTaskbarController {
|
||||
|
||||
static final int MAX_TASKS = 6;
|
||||
@VisibleForTesting
|
||||
public static final int MAX_TASKS = 6;
|
||||
|
||||
@NonNull private final ControllerCallbacks mControllerCallbacks = new ControllerCallbacks();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user