Temporary workaround for b/25980198

Change-Id: I467758ad45c499d72b1756a7e4f5c379089b3049
This commit is contained in:
Winson
2015-12-02 19:06:44 -08:00
parent a0731a1a26
commit 160f4c0d5c

View File

@@ -138,6 +138,8 @@ public class RecentsView extends FrameLayout implements TaskStackView.TaskStackV
// If onRecentsHidden is not triggered, we need to the stack view again here
mTaskStackView.reset();
mTaskStackView.setStack(stack);
removeView(mTaskStackView);
addView(mTaskStackView);
} else {
mTaskStackView = new TaskStackView(getContext(), stack);
mTaskStackView.setCallbacks(this);