diff options
| author | Fabrice Di Meglio <fdimeglio@google.com> | 2012-10-26 16:27:55 -0700 |
|---|---|---|
| committer | Fabrice Di Meglio <fdimeglio@google.com> | 2012-10-26 17:13:33 -0700 |
| commit | bb4b601673a4f910d3e467bc5ce39538438859ce (patch) | |
| tree | 486cb529b62e7515e340dcb364ef4edcf7f315f8 /core/java/android/view | |
| parent | f704e9f67745d1f1c01058f4c74b06d157b4054d (diff) | |
| download | frameworks_base-bb4b601673a4f910d3e467bc5ce39538438859ce.zip frameworks_base-bb4b601673a4f910d3e467bc5ce39538438859ce.tar.gz frameworks_base-bb4b601673a4f910d3e467bc5ce39538438859ce.tar.bz2 | |
Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"
This reverts commit 6bf6eb7d5f9207d6a3e1d6b61f17a8654d06fbdb.
and also fbc21e126f329b7b7c161858c1390ccb023be07e
I have also removed all unnecessary calls to resolveLayoutDirection(int). This is possible as
we are resolving layout params on every child of a ViewGroup as of commit
fcc3348f61b2992f0b84e8e8dcb3535fc715298f
Change-Id: I262a375b03fcc3c9261cbe2edebb6ec42ec2e186
Diffstat (limited to 'core/java/android/view')
| -rw-r--r-- | core/java/android/view/ViewGroup.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/java/android/view/ViewGroup.java b/core/java/android/view/ViewGroup.java index c252c77..7f785cd 100644 --- a/core/java/android/view/ViewGroup.java +++ b/core/java/android/view/ViewGroup.java @@ -4817,8 +4817,6 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager int parentWidthMeasureSpec, int widthUsed, int parentHeightMeasureSpec, int heightUsed) { final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); - final int layoutDirection = getLayoutDirection(); - lp.resolveLayoutDirection(layoutDirection); final int childWidthMeasureSpec = getChildMeasureSpec(parentWidthMeasureSpec, mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin |
