Expand channel settings if coming from app

Test: manual inspection
Change-Id: I2ed7f5cc2355f27e0edf36a0d8ee23e418eafd99
Fixes: 77648459
This commit is contained in:
Julia Reynolds
2018-04-18 12:17:33 -04:00
parent 270f608578
commit f3290eafce
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