Skip to content
Snippets Groups Projects
Commit 785394eb authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix the pip bounds error when entering pip mode."

parents e435b1d7 34f9dae2
No related branches found
No related tags found
No related merge requests found
......@@ -597,6 +597,13 @@ public class PipTouchHandler {
return true;
}
// Ignore the motion event When the entry animation is waiting to be started
if (!mTouchState.isUserInteracting() && mPipTaskOrganizer.isEntryScheduled()) {
ProtoLog.wtf(ShellProtoLogGroup.WM_SHELL_PICTURE_IN_PICTURE,
"%s: Waiting to start the entry animation, skip the motion event.", TAG);
return true;
}
// Update the touch state
mTouchState.onTouchEvent(ev);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment