Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1d3ae09 authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

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
parent 52f8f787
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment