Loading packages/SystemUI/src/com/android/systemui/qs/QSPanel.java +6 −0 Original line number Diff line number Diff line Loading @@ -532,6 +532,12 @@ public class QSPanel extends ViewGroup { }; private final AnimatorListenerAdapter mHideGridContentWhenDone = new AnimatorListenerAdapter() { public void onAnimationCancel(Animator animation) { // If we have been cancelled, remove the listener so that onAnimationEnd doesn't get // called, this will avoid accidentally turning off the grid when we don't want to. animation.removeListener(this); }; @Override public void onAnimationEnd(Animator animation) { setGridContentVisibility(false); Loading Loading
packages/SystemUI/src/com/android/systemui/qs/QSPanel.java +6 −0 Original line number Diff line number Diff line Loading @@ -532,6 +532,12 @@ public class QSPanel extends ViewGroup { }; private final AnimatorListenerAdapter mHideGridContentWhenDone = new AnimatorListenerAdapter() { public void onAnimationCancel(Animator animation) { // If we have been cancelled, remove the listener so that onAnimationEnd doesn't get // called, this will avoid accidentally turning off the grid when we don't want to. animation.removeListener(this); }; @Override public void onAnimationEnd(Animator animation) { setGridContentVisibility(false); Loading