Merge "Incorrect localization of dark theme custom time" into rvc-dev am: fb6711ae92
am: e931c35f4d
Change-Id: I2f3937ea0edfa14470bbf9dd4d7d147bf39cd8d6
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