summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chandru S <chandruis@google.com> 2024-12-31 18:10:15 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2024-12-31 18:10:15 -0800
commitc9dec1936cf66f0ff49d189fbbc51162e7ead173 (patch)
tree20107e72d91e86256b6045ffb81532b6b07735aa
parentcf1202db201fa82cc0c73a7aec19fc51c9c14fc9 (diff)
parentaa6d150ae242e9392d3605e61d9429577e47cc68 (diff)
Merge "Fixes NPE in test" into main
-rw-r--r--packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/KeyguardIndicationControllerBaseTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/KeyguardIndicationControllerBaseTest.java b/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/KeyguardIndicationControllerBaseTest.java
index 33a08035a7b2..1938f429264b 100644
--- a/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/KeyguardIndicationControllerBaseTest.java
+++ b/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/KeyguardIndicationControllerBaseTest.java
@@ -264,7 +264,9 @@ public class KeyguardIndicationControllerBaseTest extends SysuiTestCase {
@After
public void tearDown() throws Exception {
- mTextView.setAnimationsEnabled(true);
+ if (mTextView != null) {
+ mTextView.setAnimationsEnabled(true);
+ }
if (mController != null) {
mController.destroy();
mController = null;