Skip to content

Commit 03b8d3a

Browse files
author
Fabrice Di Meglio
committed
Fix bug # 7172247 API REVIEW: android.view.ViewGroup.MarginLayoutParams
- remove isLayoutRtl() from public API Change-Id: If700e3f5f30e3c98403b48dbcdd892535d929e2d
1 parent 0b17115 commit 03b8d3a

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
@@ -25676,7 +25676,6 @@ package android.view {
2567625676
method public int getLayoutDirection();
2567725677
method public int getMarginEnd();
2567825678
method public int getMarginStart();
25679-
method protected boolean isLayoutRtl();
2568025679
method public boolean isMarginRelative();
2568125680
method public void setLayoutDirection(int);
2568225681
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
@@ -5893,7 +5893,10 @@ public void onResolveLayoutDirection(int layoutDirection) {
58935893
}
58945894
}
58955895

5896-
protected boolean isLayoutRtl() {
5896+
/**
5897+
* @hide
5898+
*/
5899+
public boolean isLayoutRtl() {
58975900
return (layoutDirection == View.LAYOUT_DIRECTION_RTL);
58985901
}
58995902

0 commit comments

Comments
 (0)