diff options
author | Andrii Kulian <akulian@google.com> | 2018-01-10 15:32:31 -0800 |
---|---|---|
committer | Andrii Kulian <akulian@google.com> | 2018-01-12 13:08:25 -0800 |
commit | 0447068f27f4d8c44052026878740cbcd7d598fa (patch) | |
tree | 3c5d9c17ddc88dfb2095be845cadc8ad1a348322 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 200cd63fb3ff5b4354773e9994f4340f18b39cbc (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: 70554032
Bug: 71346774
Test: com.android.server.am.ClientLifecycleManagerTests
Test: android.app.servertransaction.ObjectPoolTests
Change-Id: I85fb3dae4589c2390e00a37144da0d285d16d151
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions