Pass correct task for retrieving of overview task bounds.

This fixes the recents to freeform animation.

Bug: 24913782
Change-Id: I7df32f08c72c86d46d8b25b49bd7e063b8ba214b
This commit is contained in:
Filip Gruszczynski
2016-01-12 10:23:58 -08:00
parent 2e263c4a12
commit b4cc67a3f6

View File

@@ -289,7 +289,7 @@ public class RecentsTransitionHelper {
// never happen)
specs.add(composeOffscreenAnimationSpec(t, offscreenTaskRect));
} else {
layoutAlgorithm.getStackTransform(task, stackScroll, mTmpTransform, null);
layoutAlgorithm.getStackTransform(t, stackScroll, mTmpTransform, null);
specs.add(composeAnimationSpec(tv, mTmpTransform, true /* addHeaderBitmap */));
}
}