| commit | f1d3ae09b0718fa521a2bdfcbcfe2a42be7c7ff8 | [log] [tgz] |
|---|---|---|
| author | Beverly <beverlyt@google.com> | Mon Apr 07 19:00:08 2025 +0000 |
| committer | Beverly Tai <beverlyt@google.com> | Tue Apr 08 06:44:53 2025 -0700 |
| tree | b979c435d3989de9ec0c7f1747ade0f1f9bb65ca | |
| parent | 52f8f78772368fc5e8cad98cf64a7070bb79d9ef [diff] |
Add null-check for test variables in tearDown (@After) In case the setup (@Before) never was able to fully run. This can occur if there was an error in the setup. Add this null check so that the NPE doesn't obscure the actual root cause of the test failure. Test: atest KeyguardIndicationTextViewTest Test: atest KeyguardClockPositionAlgorithmTest Fixes: 408471732 Fixes: 408470808 Flag: EXEMPT bugfix Change-Id: I03da9238e30127451ff9891c62edaf651e4bbc6a