am 046184f9: Merge "Fix bug #7266459 android.widget.cts.TableLayoutTest#testColumnStretchableEffect failures on JO" into jb-mr1-dev
* commit '046184f97aa71bd36a11b9d2cd27dafe2d29d246': Fix bug #7266459 android.widget.cts.TableLayoutTest#testColumnStretchableEffect failures on JO
This commit is contained in:
@@ -5871,6 +5871,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
|||||||
((layoutDirection << PFLAG2_LAYOUT_DIRECTION_MASK_SHIFT) & PFLAG2_LAYOUT_DIRECTION_MASK);
|
((layoutDirection << PFLAG2_LAYOUT_DIRECTION_MASK_SHIFT) & PFLAG2_LAYOUT_DIRECTION_MASK);
|
||||||
// We need to resolve all RTL properties as they all depend on layout direction
|
// We need to resolve all RTL properties as they all depend on layout direction
|
||||||
resolveRtlPropertiesIfNeeded();
|
resolveRtlPropertiesIfNeeded();
|
||||||
|
requestLayout();
|
||||||
|
invalidate(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -11568,8 +11570,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
|||||||
if (!isDrawablesResolved()) {
|
if (!isDrawablesResolved()) {
|
||||||
resolveDrawables();
|
resolveDrawables();
|
||||||
}
|
}
|
||||||
requestLayout();
|
|
||||||
invalidate(true);
|
|
||||||
onRtlPropertiesChanged(getLayoutDirection());
|
onRtlPropertiesChanged(getLayoutDirection());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user