- Disable reusing old stack view tasks
Bug:
25998134
Change-Id: Idf74f9b371a9ae6d89f5752708ac6adb675b55a7
public void setTaskStack(TaskStack stack) {
RecentsConfiguration config = Recents.getConfiguration();
mStack = stack;
- if (config.getLaunchState().launchedReuseTaskStackViews) {
+ // Disable reusing task stack views until the visibility bug is fixed. b/25998134
+ if (false && config.getLaunchState().launchedReuseTaskStackViews) {
if (mTaskStackView != null) {
// If onRecentsHidden is not triggered, we need to the stack view again here
mTaskStackView.reset();