DescriptionSet a fixed layout size only if the container view has a WRAP_CONTENT layout mode.
Using the measureSpec from the onMeasure callback to decide whether to set a
fixed layout size or not has proven to be a bit unpredictable. Changing the
code to look at the LayoutParams instead.
BUG=None
TEST=AndroidWebViewTest
// android_webview-only, trybots were happy.
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=231815
Patch Set 1 #
Total comments: 11
Patch Set 2 : improve comment #Patch Set 3 : update comments #
Messages
Total messages: 6 (0 generated)
|