summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Adrian Roos <roosa@google.com> 2017-04-05 13:59:15 -0700
committer Adrian Roos <roosa@google.com> 2017-04-06 22:41:50 +0000
commit4c720d2c1377889fa3482fca9655e9e4720f1a5c (patch)
treed703d137efb32d034880a6e20d977221c0a58a31
parent0283544c498bbc8293207ffb47662e285bf42384 (diff)
NotiViewWrapper: Fix test that breaks on master
oc-dev allows constructing views with a null context, but that doesn't work any longer on master. Bug: 36430936 Change-Id: If069f81d54e3e3b9145ca5187b87888cd6173c0f Merged-In: If069f81d54e3e3b9145ca5187b87888cd6173c0f
-rw-r--r--packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationViewWrapperTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationViewWrapperTest.java b/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationViewWrapperTest.java
index a69de7a68291..7a72afdbdfd4 100644
--- a/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationViewWrapperTest.java
+++ b/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationViewWrapperTest.java
@@ -39,7 +39,7 @@ public class NotificationViewWrapperTest {
@Test
public void constructor_doesntUseViewContext() throws Exception {
- new TestableNotificationViewWrapper(mContext, new View(null /* context */), null /* row */);
+ new TestableNotificationViewWrapper(mContext, null /* view */, null /* row */);
}
static class TestableNotificationViewWrapper extends NotificationViewWrapper {