diff options
| author | 2014-03-06 00:45:44 +0000 | |
|---|---|---|
| committer | 2014-03-06 00:45:44 +0000 | |
| commit | dfb76305c78ac596cf025e3410a04bd8221cfeab (patch) | |
| tree | 7d8852ad24ac158806c711d9cbf07debb9845a97 | |
| parent | 1569d61f66431118666e51d55817193718d83206 (diff) | |
| parent | 1eb5c0551f98b0340db37525f1f490c2d100cf38 (diff) | |
am 1eb5c055: am cf33fe68: am e1190a99: am cb6dcd7a: am 2b58a29f: Merge "Fix bug #12422326 Unable to change text direction programmatically using setTextDirection Android SDK API - DO NOT MERGE" into klp-dev
* commit '1eb5c0551f98b0340db37525f1f490c2d100cf38':
Fix bug #12422326 Unable to change text direction programmatically using setTextDirection Android SDK API - DO NOT MERGE
| -rw-r--r-- | core/java/android/widget/TextView.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java index 7a9809fda605..37121e210fd0 100644 --- a/core/java/android/widget/TextView.java +++ b/core/java/android/widget/TextView.java @@ -8667,6 +8667,10 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener super.onRtlPropertiesChanged(layoutDirection); mTextDir = getTextDirectionHeuristic(); + + if (mLayout != null) { + checkForRelayout(); + } } TextDirectionHeuristic getTextDirectionHeuristic() { |