Refresh AccessibilityNodeInfo and wait for the nodes become stable.

Root cause:
The AccessibilityOverlayTest was flaky because:
- We didn’t refresh the accessibility node to be used as the baseline
- The node infos are not stable yet when we compare the expected and the actual

Bug: 296132856
Test: atest CtsAccessibilityServiceTestCases:android.accessibilityservice.cts.AccessibilityOverlayTest#testA11yServiceShowsWindowEmbeddedOverlayWithoutCallback_shouldAppearAndDisappear --iteration 100
Test: atest AccessibilityOverlayTest
Change-Id: I14c0dbf20b974b59035beb2b9f4a2d812ccb8d25
1 file changed