Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55e20d50 authored by Winson's avatar Winson Committed by Jorim Jaggi
Browse files

Removing workaround causing full view inflation.

Bug: 26420766

Change-Id: I0bb0eeada5002460de47fe4b3e23bc8a8d6e751d
parent c74d338c
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -145,14 +145,11 @@ public class RecentsView extends FrameLayout {
        RecentsConfiguration config = Recents.getConfiguration();
        RecentsActivityLaunchState launchState = config.getLaunchState();
        mStack = stack;
        // Disable reusing task stack views until the visibility bug is fixed. b/25998134
        if (false && launchState.launchedReuseTaskStackViews) {
        if (launchState.launchedReuseTaskStackViews) {
            if (mTaskStackView != null) {
                // 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);
                addView(mTaskStackView);