mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Merge "Prevent showing divider if launcher was never shown" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ec8a85099e
@@ -1676,7 +1676,7 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
|
||||
boolean wasVisible = mWasLauncherAlreadyVisible || mGestureStarted;
|
||||
mActivityInterface.onTransitionCancelled(wasVisible, mGestureState.getEndTarget());
|
||||
|
||||
if (mRecentsAnimationTargets != null) {
|
||||
if (mRecentsAnimationTargets != null && wasVisible) {
|
||||
setDividerShown(true /* shown */, true /* immediate */);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user