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

Commit 2d05fe42 authored by Adrian Roos's avatar Adrian Roos
Browse files

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
parent b58ce251
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {