summaryrefslogtreecommitdiff
path: root/tools/icu4c_srcgen/doc_patches/patches/unicode/uloc.h.patch
blob: 5c60e81ca6f8880599fa9201a97e1ed101bcaffd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- libicu/ndk_headers/unicode/uloc.h	2021-01-19 16:37:46.343488297 +0000
+++ libicu/ndk_headers/unicode/uloc.h	2021-01-19 16:37:46.447489035 +0000
@@ -368,6 +368,9 @@
  *   and unchanged even when uloc_setDefault() is called.
  *   The returned storage is owned by ICU, and must not be altered or deleted
  *   by the caller.
+ * On Android, uloc_setDefault() is not visible because the default Locale in ICU4C,
+ * ICU4J and java.util.Locale are synchronized. To set a default locale, call
+ * java.util.Locale#setDefault in java or by reverse JNI.
  *  
  * @return the ICU default locale
  * @system