Loading src/com/android/launcher3/AppsCustomizePagedView.java +4 −2 Original line number Diff line number Diff line Loading @@ -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()); } } }); } } Loading src/com/android/launcher3/Launcher.java +6 −0 Original line number Diff line number Diff line Loading @@ -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) Loading Loading @@ -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) Loading Loading
src/com/android/launcher3/AppsCustomizePagedView.java +4 −2 Original line number Diff line number Diff line Loading @@ -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()); } } }); } } Loading
src/com/android/launcher3/Launcher.java +6 −0 Original line number Diff line number Diff line Loading @@ -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) Loading Loading @@ -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) Loading