Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4a7fafcb authored by Nataniel Borges's avatar Nataniel Borges
Browse files

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
parent 93ef9920
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