Incorrect localization of dark theme custom time
Fixes: 154361883 Test: manually select dark theme custom time and make sure it matches locale Change-Id: I2a918b4b2f5aad6b04d3b0318bbca25e82dfae78
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