commit | 9607fbe9d70dd350e5f4a5f3862fa95816780c94 | [log] [tgz] |
---|---|---|
author | Doris Liu <tianliu@google.com> | Thu May 28 17:17:28 2015 -0700 |
committer | Doris Liu <tianliu@google.com> | Thu May 28 17:17:28 2015 -0700 |
tree | d1449db4126c6bde3448c8527e28069fe4866220 | |
parent | 63428ccde7e925ceb94aa40e933b3d51954a7797 [diff] |
Fix calls to Rect.intersect() in package android.view This CL checks for the return value for Rect.intersect() for whether there is actually an intersection before taking the return intersected rect. In the case of no intersection (Rect.intersect() returns false), an empty rect will be used as the intersection. bug: 7368679 Change-Id: Ib874345210c8f62550627544d717e958d46cfe13