commit | 39b4fad9b0ae25341da6e029b5f99e04e6c99de8 | [log] [tgz] |
---|---|---|
author | Vadim Tryshev <vadimt@google.com> | Mon Oct 09 11:28:40 2023 -0700 |
committer | Vadim Tryshev <vadimt@google.com> | Mon Oct 09 11:29:42 2023 -0700 |
tree | 753a0a8b3b037ec3f6cc0a85d88ccf05bd7db5e3 | |
parent | b34296face1e039a03b0c940c00c3b341bb6e94a [diff] |
Introducing a method for execution an action on Launcher for teardown 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: 304306290 Test: presubmit Flag: N/A Change-Id: I89774a92ede046fa3afadacc62df25f4f496f4e7