summaryrefslogtreecommitdiffstats
path: root/core/java/android/util
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2013-08-29 18:05:02 -0700
committerFabrice Di Meglio <fdimeglio@google.com>2013-08-29 18:13:28 -0700
commit253fb7f6c3c026f92f0698f59e013e38085f7662 (patch)
tree94160d15d53ff0b0b287e837d56262e97ab6740e /core/java/android/util
parentc2b582c0b63df855a7492db3fb00dd194bf86fe3 (diff)
downloadframeworks_base-253fb7f6c3c026f92f0698f59e013e38085f7662.zip
frameworks_base-253fb7f6c3c026f92f0698f59e013e38085f7662.tar.gz
frameworks_base-253fb7f6c3c026f92f0698f59e013e38085f7662.tar.bz2
Fix bug #10549094 KLP API Review: android.util.LayoutDirection
- use constant class instead of an interface - make it final Change-Id: I1bde76eb84cd92427e4e1fc2483cdecec429ae99
Diffstat (limited to 'core/java/android/util')
-rw-r--r--core/java/android/util/LayoutDirection.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/core/java/android/util/LayoutDirection.java b/core/java/android/util/LayoutDirection.java
index e37d2f2..20af20b 100644
--- a/core/java/android/util/LayoutDirection.java
+++ b/core/java/android/util/LayoutDirection.java
@@ -17,11 +17,15 @@
package android.util;
/**
- * An interface for defining layout directions. A layout direction can be left-to-right (LTR)
+ * A class for defining layout directions. A layout direction can be left-to-right (LTR)
* or right-to-left (RTL). It can also be inherited (from a parent) or deduced from the default
* language script of a locale.
*/
-public interface LayoutDirection {
+public final class LayoutDirection {
+
+ // No instantiation
+ private LayoutDirection() {}
+
/**
* Horizontal layout direction is from Left to Right.
*/