We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5bc54bf + acb1c12 commit 046184fCopy full SHA for 046184f
core/java/android/view/View.java
@@ -5871,6 +5871,8 @@ public void setLayoutDirection(int layoutDirection) {
5871
((layoutDirection << PFLAG2_LAYOUT_DIRECTION_MASK_SHIFT) & PFLAG2_LAYOUT_DIRECTION_MASK);
5872
// We need to resolve all RTL properties as they all depend on layout direction
5873
resolveRtlPropertiesIfNeeded();
5874
+ requestLayout();
5875
+ invalidate(true);
5876
}
5877
5878
@@ -11568,8 +11570,6 @@ void resolveRtlPropertiesIfNeeded() {
11568
11570
if (!isDrawablesResolved()) {
11569
11571
resolveDrawables();
11572
- requestLayout();
- invalidate(true);
11573
onRtlPropertiesChanged(getLayoutDirection());
11574
11575
0 commit comments