Merge "Fix home animation jank when quickly pressing home button" into udc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c73b653e1d
@@ -1663,7 +1663,8 @@ public class Launcher extends StatefulActivity<LauncherState>
|
||||
if (isActionMain) {
|
||||
if (!internalStateHandled) {
|
||||
// In all these cases, only animate if we're already on home
|
||||
closeOpenViews(isStarted());
|
||||
AbstractFloatingView.closeAllOpenViewsExcept(
|
||||
this, isStarted(), AbstractFloatingView.TYPE_LISTENER);
|
||||
|
||||
if (!isInState(NORMAL)) {
|
||||
// Only change state, if not already the same. This prevents cancelling any
|
||||
|
||||
Reference in New Issue
Block a user