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

Commit ba1307b2 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge changes Ib255e49f,Ifc33cdf7 into lmp-mr1-dev

* changes:
  Ensuring that the alpha and translation animation durations are the same. (Bug 18609321)
  Fix crash when user is both scrolling and tabbing through Recents. (Bug 18552776)
parents 3ea68240 b255e49f
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -530,12 +530,13 @@ public class TaskStackView extends FrameLayout implements TaskStack.TaskStackCal

    /** Resets the focused task. */
    void resetFocusedTask() {
        if ((mStack != null) && (0 <= mFocusedTaskIndex) &&
                (mFocusedTaskIndex < mStack.getTaskCount())) {
        if ((0 <= mFocusedTaskIndex) && (mFocusedTaskIndex < mStack.getTaskCount())) {
            Task t = mStack.getTasks().get(mFocusedTaskIndex);
            TaskView tv = getChildViewForTask(t);
            if (tv != null) {
                tv.unsetFocusedTask();
            }
        }
        mFocusedTaskIndex = -1;
    }

+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ public class AppTransition implements Dump {
    private static final float RECENTS_THUMBNAIL_FADEOUT_FRACTION = 0.3f;

    private static final int DEFAULT_APP_TRANSITION_DURATION = 250;
    private static final int THUMBNAIL_APP_TRANSITION_DURATION = 300;
    private static final int THUMBNAIL_APP_TRANSITION_DURATION = 325;
    private static final int THUMBNAIL_APP_TRANSITION_ALPHA_DURATION = 325;

    private final Context mContext;