Skip to content

Commit 8af2a13

Browse files
Fabrice Di MeglioAndroid (Google) Code Review
authored andcommitted
Merge "Fix bug # 7172247 API REVIEW: android.view.ViewGroup.MarginLayoutParams" into jb-mr1-dev
2 parents 669aa7c + 03b8d3a commit 8af2a13

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

api/current.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25679,7 +25679,6 @@ package android.view {
2567925679
method public int getLayoutDirection();
2568025680
method public int getMarginEnd();
2568125681
method public int getMarginStart();
25682-
method protected boolean isLayoutRtl();
2568325682
method public boolean isMarginRelative();
2568425683
method public void setLayoutDirection(int);
2568525684
method public void setMarginEnd(int);

core/java/android/view/ViewGroup.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5904,7 +5904,10 @@ public void onResolveLayoutDirection(int layoutDirection) {
59045904
}
59055905
}
59065906

5907-
protected boolean isLayoutRtl() {
5907+
/**
5908+
* @hide
5909+
*/
5910+
public boolean isLayoutRtl() {
59085911
return (layoutDirection == View.LAYOUT_DIRECTION_RTL);
59095912
}
59105913

0 commit comments

Comments
 (0)