diff options
author | Andrii Kulian <akulian@google.com> | 2017-12-20 15:38:12 -0800 |
---|---|---|
committer | Andrii Kulian <akulian@google.com> | 2017-12-21 15:36:08 -0800 |
commit | 1c110302fe3236e7477020aa11b9cb0b8226328a (patch) | |
tree | 4b006e3f2accd0f1b7b1588fd54aabc2513b1166 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 93592a9b390e2f44a476068e1d732d3d6b13e82e (diff) |
Fix object pool for lifecycler
The original implementation of object pool for lifecycle
transactions tried to always recycle objects after a
transaction was scheduled. In case when a client was running
in the same process this lead to objects being emptied before
it could actually perform the transaction.
Also when checking if object was already in the pool we should
use "==" instead of equality check.
Bug: 70568084
Bug: 70526039
Bug: 70616950
Test: android.app.servertransaction.ObjectPoolTests
Change-Id: I45eeecc189b9a458d8efdfed256b81cf0baf8b95
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions