OSDN Git Service

Disable object pool for lifecycler
authorAndrii Kulian <akulian@google.com>
Wed, 13 Dec 2017 22:46:43 +0000 (14:46 -0800)
committerAndrii Kulian <akulian@google.com>
Wed, 13 Dec 2017 22:52:29 +0000 (14:52 -0800)
commit3b8b3c34c216838cc5949b1710d415ed9dbbedcd
treebf944ba36727c3131441a1db1123a4da69c9955a
parentd87c6b51f55985e343cf96f57b06e4adebf53d25
Disable object pool for lifecycler

In the case when client lives in system_server, we shouldn't
recycle the lifecycle transaction objects to the pool.
Disabled this feature for now.

Bug: 70616950
Test: Manual
Change-Id: Ib70096aa35accfeb93108f60e3cfe8440b9cd6e8
core/tests/coretests/src/android/app/servertransaction/ObjectPoolTests.java
services/core/java/com/android/server/am/ClientLifecycleManager.java