Commit 43180211 authored by Svetoslav Ganov's avatar Svetoslav Ganov
Browse files

Fixing a broken CTS test.

1. There was a bug in View.RequestRectangleOnScreen that was
   fixed a while ago and this test is assuming the old broken
   behavior is correct. First, it relies on the side effects
   of the tested method on its input argument, which was never
   documented as such. Second, the tests was assuming that a
   view should apply its scroll X and Y to the rectangle
   before asking the parent to make it visible.  This is
   not correct since the scroll shows how much the content
   of the view is scrolled. In this case the rect is already
   in local coordinates.

bug:7171897

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