Skip to content
Commit 79687438 authored by Ming-Shin Lu's avatar Ming-Shin Lu
Browse files

Wait starting window finished in syncInputTransactions

This CL is attempt to fix the test flakiness happens when invoking
tapOnDisplayCenter on the test activity but the starting window
is still exists.

Use ActivityRecord#hasStartingWindow to check all running activities
to ensure input window transations will wait until the starting
window has finished animating.

Bug: 191996095
Test: atest MultiDisplaySystemDecorationTests#\
      testDisplayPolicyImeHideImeNoSystemDecorations --iterations 100
Change-Id: Ie9ca44a7b4c972fc1393d9ce55a5982a2b62dac7
(cherry picked from commit 5e1b80b1)
parent d1436f18
Loading
Loading
Loading
Loading
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