Pass last touch event to DragDownHelper when starting doze
This stops QS container being stuck in a bad state if it was being opened over keyguard when dozing started. Bug: 279707140 Test: manually verified QQS over keyguard to doze transition Change-Id: Ic8b02151ff5e497993bc9d74fd0db9f9bfe2f8df
This commit is contained in:
@@ -397,19 +397,15 @@ public class NotificationShadeWindowViewController {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (handled) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (mMultiShadeMotionEventInteractor != null) {
|
||||
// This interactor is not null only if the dual shade feature is enabled.
|
||||
return mMultiShadeMotionEventInteractor.onTouchEvent(ev, mView.getWidth());
|
||||
} else if (mDragDownHelper.isDragDownEnabled()
|
||||
|| mDragDownHelper.isDraggingDown()) {
|
||||
// we still want to finish our drag down gesture when locking the screen
|
||||
return mDragDownHelper.onTouchEvent(ev);
|
||||
return mDragDownHelper.onTouchEvent(ev) || handled;
|
||||
} else {
|
||||
return false;
|
||||
return handled;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user