diff options
author | Wale Ogunwale <ogunwale@google.com> | 2016-11-21 08:41:10 -0800 |
---|---|---|
committer | Wale Ogunwale <ogunwale@google.com> | 2016-12-06 09:44:12 -0800 |
commit | ee41d4afcb089eac6a6a569557905f71bdd33f6c (patch) | |
tree | 1bdbfe986243bb6956b6fc494f888aa233b4d467 /docs/html/sdk/api_diff/21/changes | |
parent | 6213caa42d89cc446de4f8f9ba00630f166f23cc (diff) |
Introduced WindowContainer.mConsumerWrapperPool
WindowContainer.forAllWindows(Consumer<WindowState>...) requires a lambda
to be allocated each time it is called since we need to capture the callback.
Switched to using an object pool for the process to reduce allocations.
Test: Run the allocation traker and make sure there aren't lambda allocations
for WindowContainer.forAllWindows() method.
Change-Id: If49c1b0bd2e0a5d6d7a30ff686b5235e69a61750
Diffstat (limited to 'docs/html/sdk/api_diff/21/changes')
0 files changed, 0 insertions, 0 deletions