Skip to content
Commit a5802053 authored by Jay Thomas Sullivan's avatar Jay Thomas Sullivan Committed by Jay Sullivan
Browse files

Fix StaleObjectException

Some of the methods in HealthConnectAllAppPermissionFragmentTest are
throwing StaleObjectException.

This happens because we're trying to click on an object while our screen
is still transitioning between windows.

To solve this, wait for the window transition to complete before trying
to click.

Fix: 296125698
Test: atest HealthConnectAllAppPermissionFragmentTest
Change-Id: I8e7a0e1544b21b9f07c5a4ed7d3ba0e6c76fd5ab
parent cbc0ac9a
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