OSDN Git Service

Make sure to clear pending spec
authorJorim Jaggi <jjaggi@google.com>
Tue, 24 Nov 2015 21:48:26 +0000 (13:48 -0800)
committerJorim Jaggi <jjaggi@google.com>
Tue, 24 Nov 2015 21:48:26 +0000 (13:48 -0800)
So when it gets out of sync it only fails once

Change-Id: If494fddfcbcb0145e2db1caa3b7612d8452c70d4

packages/SystemUI/src/com/android/systemui/recents/views/RecentsTransitionHelper.java

index ff3aef9..d7eb099 100644 (file)
@@ -190,6 +190,9 @@ public class RecentsTransitionHelper {
                 };
             }
             try {
+                synchronized (this) {
+                    mAppTransitionAnimationSpecs = SPECS_WAITING;
+                }
                 WindowManagerGlobal.getWindowManagerService()
                         .overridePendingAppTransitionMultiThumbFuture(transitionFuture,
                                 callback, true /* scaleUp */);