commit | adb89214532a2eda2b5396886ae1ada16d890b24 | [log] [tgz] |
---|---|---|
author | Doris Liu <tianliu@google.com> | Thu May 28 15:35:52 2015 -0700 |
committer | Doris Liu <tianliu@google.com> | Thu May 28 15:39:05 2015 -0700 |
tree | 2289de40e3fecea23c1a12972bb067b29592bd2c | |
parent | 63428ccde7e925ceb94aa40e933b3d51954a7797 [diff] |
Clean up calls to Rect.intersect() 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: Ibda3bfd662f8ca83cb5662748d9be250243b72b2