Merge "Fix sysui crash."

This commit is contained in:
Filip Gruszczynski
2015-12-16 19:38:50 +00:00
committed by Android (Google) Code Review

View File

@@ -341,11 +341,10 @@ public class TaskView extends FrameLayout implements Task.TaskCallbacks,
if (launchState.launchedFromAppWithThumbnail) {
if (mTask.isLaunchTarget) {
ctx.postAnimationTrigger.increment();
// Immediately start the dim animation
animateDimToProgress(taskViewEnterFromAppDuration,
ctx.postAnimationTrigger.decrementOnAnimationEnd());
ctx.postAnimationTrigger.increment();
// Animate the action button in
fadeInActionButton(taskViewEnterFromAppDuration);
} else {