Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbe5874f authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Hardcode locale in tests to Locale.US

Bug: 25691379
Change-Id: I59fe0cd44e675dbd5e586cae9c9750eab7f607d7
parent 5bc60987
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -391,7 +391,7 @@ public class ContextFixture implements TestFixture<Context> {

        doReturn(mBundle).when(mCarrierConfigManager).getConfigForSubId(anyInt());

        mConfiguration.locale = Locale.getDefaultLocaleFromSystemProperties();
        mConfiguration.locale = Locale.US;
        doReturn(mConfiguration).when(mResources).getConfiguration();

        mContentResolver.addProvider(Telephony.Sms.CONTENT_URI.getAuthority(), mContentProvider);