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

Commit 115edcae authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't bother resetting settings; they use testable context"

parents 323f9555 d3701b13
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -42,7 +42,6 @@ import com.android.systemui.plugins.statusbar.NotificationMenuRowPlugin;
import com.android.systemui.statusbar.notification.collection.NotificationEntry;
import com.android.systemui.utils.leaks.LeakCheckedTest;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -65,13 +64,6 @@ public class NotificationMenuRowTest extends LeakCheckedTest {
        when(mRow.getEntry()).thenReturn(entry);
    }

    @After
    public void tearDown() {
        Settings.Secure.putInt(mContext.getContentResolver(),
                NOTIFICATION_NEW_INTERRUPTION_MODEL, 0);
    }


    @Test
    public void testAttachDetach() {
        NotificationMenuRowPlugin row = new NotificationMenuRow(mContext);