diff options
author | Doris Liu <tianliu@google.com> | 2015-05-28 17:17:28 -0700 |
---|---|---|
committer | Doris Liu <tianliu@google.com> | 2015-05-28 17:17:28 -0700 |
commit | 9607fbe9d70dd350e5f4a5f3862fa95816780c94 (patch) | |
tree | d1449db4126c6bde3448c8527e28069fe4866220 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions