Merge "Don't bother resetting settings; they use testable context"
This commit is contained in:
committed by
Android (Google) Code Review
commit
115edcae44
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user