Expand channel settings if coming from app am: f3290eafce

am: 520fde650d

Change-Id: I056fa1ed816ec1ef0b898ab18471f5dfe6c9613f
This commit is contained in:
Julia Reynolds
2018-04-18 12:31:19 -07:00
committed by android-build-merger
5 changed files with 23 additions and 12 deletions

View File

@@ -64,8 +64,6 @@ public class DndPreferenceControllerTest {
private UserManager mUm;
@Mock(answer = Answers.RETURNS_DEEP_STUBS)
private PreferenceScreen mScreen;
@Mock
private Lifecycle mLifecycle;
private DndPreferenceController mController;
@@ -76,7 +74,7 @@ public class DndPreferenceControllerTest {
shadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm);
shadowApplication.setSystemService(Context.USER_SERVICE, mUm);
mContext = RuntimeEnvironment.application;
mController = spy(new DndPreferenceController(mContext, mLifecycle, mBackend));
mController = spy(new DndPreferenceController(mContext, mBackend));
}
@Test