Override Rect#contains() to include bottom right
In landscape, the lowest coordinate touch registered is the actual lowest pixel possible by the screen. For portrait/seascape the lowest coordinate is (lowest pixel possible - 1). The difference of the one pixel makes Rect#contains() return false since only top left Rect points are inclusive and bottom right points are exclusive. Fixes: 156333291 Test: Always able to smoothly go to overview from landscape. Change-Id: I6beddad99ae076a167d2a5f5e5acc6e466bff544
Loading
Please register or sign in to comment