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

Commit 0d2adfbb authored by Adam Cohen's avatar Adam Cohen
Browse files

Potential fix for a couple bugs

issue 17371274
issue 17368590

Change-Id: I717f9c37613efd9d61e401540ca82aff77058022
parent 6a2c7785
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -366,9 +366,11 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
                    // This code triggers requestLayout so must be posted outside of the
                    // layout pass.
                    public void run() {
                        if (isAttachedToWindow()) {
                            setDataIsReady();
                            onDataReady(getMeasuredWidth(), getMeasuredHeight());
                        }
                    }
                });
            }
        }
+6 −0
Original line number Diff line number Diff line
@@ -3373,6 +3373,9 @@ public class Launcher extends Activity
            final AnimatorSet stateAnimation = mStateAnimation;
            final Runnable startAnimRunnable = new Runnable() {
                public void run() {
                    if (!toView.isAttachedToWindow()) {
                        return;
                    }
                    // Check that mStateAnimation hasn't changed while
                    // we waited for a layout/draw pass
                    if (mStateAnimation != stateAnimation)
@@ -3618,6 +3621,9 @@ public class Launcher extends Activity
            final AnimatorSet stateAnimation = mStateAnimation;
            final Runnable startAnimRunnable = new Runnable() {
                public void run() {
                    if (!fromView.isAttachedToWindow()) {
                        return;
                    }
                    // Check that mStateAnimation hasn't changed while
                    // we waited for a layout/draw pass
                    if (mStateAnimation != stateAnimation)