mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Deleting Quickscrub related logic
Bug: 124255113 Change-Id: Ic5f2338f1e3ae0a0cfb08f822dee0e01ae54a7b0
This commit is contained in:
@@ -112,7 +112,6 @@ public abstract class QuickstepAppTransitionManagerImpl extends LauncherAppTrans
|
||||
private static final int APP_LAUNCH_ALPHA_DURATION = 50;
|
||||
|
||||
public static final int RECENTS_LAUNCH_DURATION = 336;
|
||||
public static final int RECENTS_QUICKSCRUB_LAUNCH_DURATION = 300;
|
||||
private static final int LAUNCHER_RESUME_START_DELAY = 100;
|
||||
private static final int CLOSING_TRANSITION_DURATION_MS = 250;
|
||||
|
||||
@@ -181,10 +180,6 @@ public abstract class QuickstepAppTransitionManagerImpl extends LauncherAppTrans
|
||||
public ActivityOptions getActivityLaunchOptions(Launcher launcher, View v) {
|
||||
if (hasControlRemoteAppTransitionPermission()) {
|
||||
boolean fromRecents = isLaunchingFromRecents(v, null /* targets */);
|
||||
if (fromRecents && isQuickSwitchInProgress()) {
|
||||
return getQuickSwitchActivityOptions();
|
||||
}
|
||||
|
||||
RemoteAnimationRunnerCompat runner = new LauncherAnimationRunner(mHandler,
|
||||
true /* startAtFrontOfQueue */) {
|
||||
|
||||
@@ -237,20 +232,6 @@ public abstract class QuickstepAppTransitionManagerImpl extends LauncherAppTrans
|
||||
protected abstract boolean isLaunchingFromRecents(@NonNull View v,
|
||||
@Nullable RemoteAnimationTargetCompat[] targets);
|
||||
|
||||
/**
|
||||
* Whether a quick scrub is in progress.
|
||||
*
|
||||
* @return true if in progress
|
||||
*/
|
||||
protected abstract boolean isQuickSwitchInProgress();
|
||||
|
||||
/**
|
||||
* Get activity options for a quick switch launch that include the launch animation.
|
||||
*
|
||||
* @return the activity options for a quick switch recents launch
|
||||
*/
|
||||
protected abstract ActivityOptions getQuickSwitchActivityOptions();
|
||||
|
||||
/**
|
||||
* Composes the animations for a launch from the recents list.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user