summaryrefslogtreecommitdiffstats
path: root/core/java/android/util
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2012-03-12 15:35:51 -0700
committerFabrice Di Meglio <fdimeglio@google.com>2012-03-12 15:44:15 -0700
commit25ba197fa7f29aed574f7d5e38975c5fda25e2ae (patch)
tree6ef247d3a00eb584454380de6273859a78238185 /core/java/android/util
parent05f692e8050c3650ec123b2361143a121e2e7d4b (diff)
downloadframeworks_base-25ba197fa7f29aed574f7d5e38975c5fda25e2ae.zip
frameworks_base-25ba197fa7f29aed574f7d5e38975c5fda25e2ae.tar.gz
frameworks_base-25ba197fa7f29aed574f7d5e38975c5fda25e2ae.tar.bz2
Make public more RTL APIs
- LocaleUtil will help developers to get the layout direction from a Locale Change-Id: I184ebcc9c208464b20f0454e7a915426640c74f0
Diffstat (limited to 'core/java/android/util')
-rw-r--r--core/java/android/util/LocaleUtil.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/core/java/android/util/LocaleUtil.java b/core/java/android/util/LocaleUtil.java
index 9953252..60526e1 100644
--- a/core/java/android/util/LocaleUtil.java
+++ b/core/java/android/util/LocaleUtil.java
@@ -24,7 +24,6 @@ import libcore.icu.ICU;
/**
* Various utilities for Locales
*
- * @hide
*/
public class LocaleUtil {
@@ -41,9 +40,7 @@ public class LocaleUtil {
* {@link View#LAYOUT_DIRECTION_LTR} or
* {@link View#LAYOUT_DIRECTION_RTL}.
*
- * Be careful: this code will need to be changed when vertical scripts will be supported
- *
- * @hide
+ * Be careful: this code will need to be updated when vertical scripts will be supported
*/
public static int getLayoutDirectionFromLocale(Locale locale) {
if (locale != null && !locale.equals(Locale.ROOT)) {
@@ -69,7 +66,7 @@ public class LocaleUtil {
* {@link View#LAYOUT_DIRECTION_LTR} or
* {@link View#LAYOUT_DIRECTION_RTL}.
*
- * Be careful: this code will need to be changed when vertical scripts will be supported
+ * Be careful: this code will need to be updated when vertical scripts will be supported
*
* @hide
*/