commit | 3bd60c7b1125ee42cd7e8746aeaebdb43e8211d8 | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Wed May 06 14:26:35 2015 -0700 |
committer | Raph Levien <raph@google.com> | Wed May 06 14:26:35 2015 -0700 |
tree | b876834fda75b83887baf9b29e84ddf19b63d4ce | |
parent | cf1f2ea5a7945dc4982b1e41197af94ad64e8f37 [diff] |
Clear all StaticLayout.Builder fields on pool recycle When returning a StaticLayout.Builder object to the pool, it is important to clear everything out. If not, then the object may have stale state from a previous layout operation. This was causing CTS test failures and probably other mischief. Bug: 20636917 Change-Id: I76fb20076ee954fcb476131a8fbe8833d72fbc0d