Merge "Fix home animation jank when quickly pressing home button" into udc-qpr-dev
This commit is contained in:
commit
c73b653e1d
1 file changed
+2
-1
@@ -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