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.


Change-Id: Ibddc2a4780b8eec86ade97e563fc4f1bde6a5934
1 file changed