Loading packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java +7 −0 Original line number Diff line number Diff line Loading @@ -461,6 +461,13 @@ public class RecentsPanelView extends RelativeLayout implements OnItemClickListe // tasks on touch down @Override public boolean onTouch(View v, MotionEvent ev) { /* When recent panel button pressed rapidly with 5+ apps open, * deadlock happen between view not visible and mShowing * remains true. * Make sure mShowing is false when view is not visible.*/ if (getVisibility() != VISIBLE) mShowing = false; if (!mShowing) { int action = ev.getAction() & MotionEvent.ACTION_MASK; if (action == MotionEvent.ACTION_DOWN) { Loading Loading
packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java +7 −0 Original line number Diff line number Diff line Loading @@ -461,6 +461,13 @@ public class RecentsPanelView extends RelativeLayout implements OnItemClickListe // tasks on touch down @Override public boolean onTouch(View v, MotionEvent ev) { /* When recent panel button pressed rapidly with 5+ apps open, * deadlock happen between view not visible and mShowing * remains true. * Make sure mShowing is false when view is not visible.*/ if (getVisibility() != VISIBLE) mShowing = false; if (!mShowing) { int action = ev.getAction() & MotionEvent.ACTION_MASK; if (action == MotionEvent.ACTION_DOWN) { Loading