Commit 92f547a3 authored by Shimi Zhang's avatar Shimi Zhang
Browse files

aw: Fix testGetContentHeight() CTS test

This test was broken by change android:layout_height from wrap_content
to match_parent. [1] The viewport is larger than the actually content,
so getContentHeight() returns the height of viewport when match_parent.

This CL changes the pageHeight to a very large height so it will be
bigger than the viewport's height, so getContentHeight will return
the height of web content.

[1] https://android-review.googlesource.com/c/platform/cts/+/910193

Bug: 124826954, 129287096
Test: atest android.webkit.cts.WebViewTest#testGetContentHeight
Change-Id: I98b6bf97a1fcb8df9d93f29c64fae51a84081edd
parent 3d65dc94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment