commit | c0489b41a76640d0920e76b62687c0716922ce39 | [log] [tgz] |
---|---|---|
author | Vadim Tryshev <vadimt@google.com> | Mon Oct 02 18:51:42 2023 -0700 |
committer | Vadim Tryshev <vadimt@google.com> | Mon Oct 02 18:51:42 2023 -0700 |
tree | 27dbcb381b6c416421d74976267ce2e6ab66f07b | |
parent | a6b74ffdfc7aac754c9edd9b6863cd1330901f49 [diff] |
Tearing down the test safely. If the test fails to initialize properly, tearDown is still called, and we may have null Launcher activity. We want to safely skip using that activity to avoid a NullPointerException that would hide the original error message. Bug: 303070230 Test: presubmit Flag: N/A Change-Id: I3bb07fa55e5793c73caaaeda57168aa11c85893e