summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2025-02-24 15:10:24 -0800
committer Siarhei Vishniakou <svv@google.com> 2025-02-27 13:40:48 -0800
commitf60eda5bab1737d32fa6fdf1cd1c042163ff3a4e (patch)
tree373ac8e9c8b73bad82f441a77179076987e0a7c9 /cmds/bootanimation/BootAnimation.cpp
parent1da632edd6d8c97f38de0a9a9943efbc725555c6 (diff)
Use startActivity to launch ANR app
This will allow us to communicate with the app, so that we can learn about the app's window token, displayId, and PID. This will also allow the app to notify the test when the input event is received. This will help the test avoid closing the uinput device prematurely. Outstanding issues in this test: 1. Some of the injection that's occurring is still done using "uiobject::click" instead of using uinput. The difficulty here is that we need a way to wait for the ANR window to disappear after clicking to prevent the uinput device from getting closed too soon. To do this, we may be able to match a window by the window's name. This kind of refactor should be done in a separate CL. 2. The test needs to be skipped on devices that don't support error dialogs. Bug: 339924248 Flag: TEST_ONLY Test: atest AnrTest Change-Id: Ic944d8a2558237d29a6155abe2a0271cb3e982b6
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions