Commit f9c3323d authored by xiaoming Liu's avatar xiaoming Liu Committed by Nicholas Sauer
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());

Change-Id: Ib00f898007d9c9c1f3ce40af20986854ccb257e3
parent 78860c44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment