summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/21/changes.html
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2015-07-29 12:34:13 -0700
committerRaph Levien <raph@google.com>2015-07-29 12:34:13 -0700
commit22ba7869f6e211f5a692235f52687a6acdd71afc (patch)
tree042b52ab5fba42bef68c5f109ed0476345d27755 /docs/html/sdk/api_diff/21/changes.html
parent9c450936aad92920215d2bc52d2c9ce132a55432 (diff)
Release text when finishing StaticLayout.Builder
DynamicLayout reuses a StaticLayout.Builder object to avoid having to allocate. There is a "finish" method that releases any expensive internal state of the builder object, but it didn't release a reference to the text object (which in turn may contain references to lots of other things, especially if it's a Spannable). This patch releases the text, as well as a few other arrays, at time of finish. Bug: 22822416 Change-Id: Icc8b6cd41a9a2d11689df7bd1b9f524c6524f706
Diffstat (limited to 'docs/html/sdk/api_diff/21/changes.html')
0 files changed, 0 insertions, 0 deletions