Fix StaleObjectException on bubble tests
A UiObject2 instance is recycled internally and reusing it multiple times causes instability. Instead, obtain the instance before each use. Also fix warnings by using Kotlin-style code Test: atest WMShellFlickerTests:com.android.wm.shell.flicker.bubble Bug: 203544263 Change-Id: Ie0c88d02ea420a4b5f5f9de77bbbafe4b7412118
Loading
Please register or sign in to comment