diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2012-10-02 16:26:04 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-10-02 16:36:29 -0700 |
commit | 046184f97aa71bd36a11b9d2cd27dafe2d29d246 (patch) | |
tree | 522d4938735cf8374dbf73276c3cac875d53881f | |
parent | 5bc54bf354f6e674a129b2e286b4bd3eefe91c2b (diff) | |
parent | acb1c124aca178b6231bf3029745e20fffdf2020 (diff) | |
download | frameworks_base-046184f97aa71bd36a11b9d2cd27dafe2d29d246.zip frameworks_base-046184f97aa71bd36a11b9d2cd27dafe2d29d246.tar.gz frameworks_base-046184f97aa71bd36a11b9d2cd27dafe2d29d246.tar.bz2 |
Merge "Fix bug #7266459 android.widget.cts.TableLayoutTest#testColumnStretchableEffect failures on JO" into jb-mr1-dev
-rw-r--r-- | core/java/android/view/View.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index 3ed47ea..2d083b6 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -5871,6 +5871,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback, ((layoutDirection << PFLAG2_LAYOUT_DIRECTION_MASK_SHIFT) & PFLAG2_LAYOUT_DIRECTION_MASK); // We need to resolve all RTL properties as they all depend on layout direction resolveRtlPropertiesIfNeeded(); + requestLayout(); + invalidate(true); } } @@ -11568,8 +11570,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback, if (!isDrawablesResolved()) { resolveDrawables(); } - requestLayout(); - invalidate(true); onRtlPropertiesChanged(getLayoutDirection()); } |