Merge "Fix Panel position may not update when device screen off / on quickly." into pi-dev
am: a93b5bcb94
Change-Id: I77654a1d1629d738a98d65849776d7bb467a6a3c
This commit is contained in:
@@ -252,7 +252,8 @@ public abstract class PanelView extends FrameLayout {
|
||||
|
||||
@Override
|
||||
public boolean onTouchEvent(MotionEvent event) {
|
||||
if (mInstantExpanding || mTouchDisabled
|
||||
if (mInstantExpanding
|
||||
|| (mTouchDisabled && event.getActionMasked() != MotionEvent.ACTION_CANCEL)
|
||||
|| (mMotionAborted && event.getActionMasked() != MotionEvent.ACTION_DOWN)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user