[RESTRICT AUTOMERGE] Request using mWmState.waitForAppTransitionIdleOnDisplay() instead of
mWmState.computeState() to support low perpormance devices while
entering freeform

Bug: 212503807
Test: run cts -m CtsWindowManagerDeviceTestCases -t
android.server.wm.WindowMetricsActivityTests#testMetricsMatchesLayoutOnFreeformActivity

Signed-off-by: Kilyoung Shin <gilbert.shin@samsung.com>
Change-Id: Iaddd5a9da99d6f8f4ea98ce37e61e08aedc83eda
(cherry picked from commit 83811ac9752e99b741dce924a6f459f07023d1b9)
1 file changed