Merge "Incorrect localization of dark theme custom time" into rvc-dev am: fb6711ae92
am: e931c35f4d
am: 73a818e99f
am: cfebbe6fa6
Change-Id: Ie6cce67aac703db052a40d8ec7be98b9ca109905
This commit is contained in:
@@ -82,6 +82,7 @@ public class DarkModeActivationPreferenceControllerTest {
|
||||
MockitoAnnotations.initMocks(this);
|
||||
mService = mock(UiModeManager.class);
|
||||
when(mContext.getResources()).thenReturn(res);
|
||||
when(res.getConfiguration()).thenReturn(mConfigNightNo);
|
||||
when(mContext.getSystemService(UiModeManager.class)).thenReturn(mService);
|
||||
when(mContext.getSystemService(PowerManager.class)).thenReturn(mPM);
|
||||
when(mScreen.findPreference(anyString())).thenReturn(mPreference);
|
||||
|
Reference in New Issue
Block a user