summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2013-08-30 18:00:19 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-08-30 18:00:19 +0000
commite3d64640f1083797cb188f08ff55a7d435f93eb9 (patch)
treec05b4818d8440e0bbdd62ae2b0325f7e207498c3 /core/java
parent51e4c4c13b75ecd47e328b0f4487ba9918a62589 (diff)
parent253fb7f6c3c026f92f0698f59e013e38085f7662 (diff)
downloadframeworks_base-e3d64640f1083797cb188f08ff55a7d435f93eb9.zip
frameworks_base-e3d64640f1083797cb188f08ff55a7d435f93eb9.tar.gz
frameworks_base-e3d64640f1083797cb188f08ff55a7d435f93eb9.tar.bz2
Merge "Fix bug #10549094 KLP API Review: android.util.LayoutDirection" into klp-dev
Diffstat (limited to 'core/java')
-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.
*/