diff options
| author | 2024-09-13 06:12:35 +0000 | |
|---|---|---|
| committer | 2024-09-13 06:29:40 +0000 | |
| commit | 3ef1347475c3a35b1b5fc9fe16a017a3d74d9857 (patch) | |
| tree | 534ac851a34b5f0a88483340f602875a709d1202 /libs/input/PointerController.cpp | |
| parent | e785842d10bf17c2fb6e210ff3af9cdcae4c8cc6 (diff) | |
Mock the startActivityAsUser to prevent silent crash
**Root cause**
With b/351856795, we call startActivityAsUser instead of startActivity,
however we didn't mock the startActivityAsUser, hence it tried to start
the EditShortcutsActivity with invalid arguments which causes the
Settings app silently crashed in test
Bug: 366358444
Test: atest MenuViewLayerTest. Verify test passed and there is no slient
crash in the test's device log
Flag: EXEMPT bugfix
Change-Id: If60eba1e43c79a1a1e4a1e317e1420b182f68421
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions