From 25ba197fa7f29aed574f7d5e38975c5fda25e2ae Mon Sep 17 00:00:00 2001 From: Fabrice Di Meglio Date: Mon, 12 Mar 2012 15:35:51 -0700 Subject: Make public more RTL APIs - LocaleUtil will help developers to get the layout direction from a Locale Change-Id: I184ebcc9c208464b20f0454e7a915426640c74f0 --- core/java/android/util/LocaleUtil.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'core') 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 */ -- cgit v1.1