@Test public void testSpecialLocale() throws IOException { Locale.setDefault(new Locale("iw", "il")); String tag = DeviceInfo.getLocale(); assertEquals("he-IL", tag); }
public static String getLocale() { return Locale.getDefault().toLanguageTag(); }
DeviceInfo { public static String getLocale() { return Locale.getDefault().toLanguageTag(); } }
DeviceInfo { public static String getLocale() { return Locale.getDefault().toLanguageTag(); }  }
DeviceInfo { public static String getLocale() { return Locale.getDefault().toLanguageTag(); }  static String getOperatingSystem(); static String getOperatingSystemVersion(); static String getOperatingVersionArchitecture(); static String getHostName(); static String getLocale(); }
DeviceInfo { public static String getLocale() { return Locale.getDefault().toLanguageTag(); }  static String getOperatingSystem(); static String getOperatingSystemVersion(); static String getOperatingVersionArchitecture(); static String getHostName(); static String getLocale();  }