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

Commit b433c5be authored by Winson's avatar Winson
Browse files

Fixing issue with multiple focus timer animations running.

Change-Id: I7243f30b917bb311e46efa1e09b44440a0236f07
parent 65c851e6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -814,8 +814,6 @@ public class TaskStackView extends FrameLayout implements TaskStack.TaskStackCal

        // Reset the last focused task state if changed
        if (mFocusedTask != null) {
            resetFocusedTask(mFocusedTask);

            // Cancel the timer indicator, if applicable
            if (showTimerIndicator) {
                final TaskView tv = getChildViewForTask(mFocusedTask);
@@ -823,6 +821,8 @@ public class TaskStackView extends FrameLayout implements TaskStack.TaskStackCal
                    tv.getHeaderView().cancelFocusTimerIndicator();
                }
            }

            resetFocusedTask(mFocusedTask);
        }

        boolean willScroll = false;