Commit 3ee9b2ed authored by xiaoming Liu's avatar xiaoming Liu
Browse files

Fix CTS case testScrollTo.

For 1080p landscape device, the text will be fully displayed without scrolling bar. The text width is less than 1920.
that's, "width - tv.getWidth() - 1" will be a negative value. and tv.getScrollX() will be zero.
And the following assertion failed.
   assertEquals(width - tv.getWidth() - 1, tv.getScrollX());
parent a2aa2781
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment