mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Adding a separate state for QuickScrub
Bug: 74014237 Change-Id: Ie86ac589f0ad0e1470fb6b0b71263ec6593eb1e3
This commit is contained in:
@@ -218,7 +218,7 @@ public class LauncherAppTransitionManagerImpl extends LauncherAppTransitionManag
|
||||
private LauncherTransitionAnimator composeRecentsLaunchAnimator(View v,
|
||||
RemoteAnimationTargetCompat[] targets) {
|
||||
// Ensure recents is actually visible
|
||||
if (!mLauncher.isInState(LauncherState.OVERVIEW)) {
|
||||
if (!mLauncher.getStateManager().getState().overviewUi) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -720,7 +720,7 @@ public class LauncherAppTransitionManagerImpl extends LauncherAppTransitionManag
|
||||
postAtFrontOfQueueAsynchronously(handler, () -> {
|
||||
if ((Utilities.getPrefs(mLauncher)
|
||||
.getBoolean("pref_use_screenshot_for_swipe_up", false)
|
||||
&& mLauncher.isInState(LauncherState.OVERVIEW))
|
||||
&& mLauncher.getStateManager().getState().overviewUi)
|
||||
|| !launcherIsATargetWithMode(targets, MODE_OPENING)) {
|
||||
// We use a separate transition for Overview mode. And we can skip the
|
||||
// animation in cases where Launcher is not in the set of opening targets.
|
||||
|
||||
Reference in New Issue
Block a user