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

Commit b8fd109a authored by Yeabkal Wubshit's avatar Yeabkal Wubshit
Browse files

AnrTest: Find target object by package

The test used to look for the action bar in order to dispatch a
MotionEvent for triggering ANR. Since Wear doesn't support action bars,
the test was failing for Wear devices. With this change, the test now
looks for any view in the test activity (i.e. look by package, instead
of the action bar).

Bug: 269148947
Test: atest AnrTest - passes on a Wear device
Change-Id: Ic9eb44db14ffe40c5553563e0f93fda4cefc9ac5
parent 9accafa7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment