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

Commit 39a9df4d authored by Evan Laird's avatar Evan Laird Committed by android-build-merger
Browse files

Merge "Expose notification guts on menu shown" into qt-dev am: ea2cba27

am: 236e1c30

Change-Id: Ic02a21631de67948c983abddf59927d5a0a1be2b
parents e6d32041 236e1c30
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -42,6 +42,7 @@ 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;
@@ -64,6 +65,13 @@ 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);