Make sure to clear pending spec

So when it gets out of sync it only fails once

Change-Id: If494fddfcbcb0145e2db1caa3b7612d8452c70d4
This commit is contained in:
Jorim Jaggi
2015-11-24 13:48:26 -08:00
parent 65193999da
commit c4d49cd684

View File

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