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

Commit defb36a0 authored by Amit Mahajan's avatar Amit Mahajan Committed by Android Partner Code Review
Browse files

Merge "Hardcode locale in tests to Locale.US" into mm-wireless-dev

parents 4a9f066f cbe5874f
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);