Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e68b5c19 authored by Eric Lin's avatar Eric Lin
Browse files

Remove ClientTransaction object pool usages (2/n).

Eliminate the use of ObjectPool in the creation and management of
ClientTransaction objects. Instead of obtaining transactions from
the pool, they are now directly instantiated. This simplifies
transaction handling and aligns with the deprecation of the
ObjectPool mechanism.

This change also removes the unnecessary recycling of ClientTransaction
objects in the ClientLifecycleManager.  As part of the cleanup,
unnecessary code related to local transaction recycling in
ActivityThread was also removed.

Bug: 311089192
Test: atest FrameworksCoreTests:ActivityThreadTest
Test: atest FrameworksCoreTests:ClientTransactionTests
Test: atest FrameworksCoreTests:ObjectPoolTests
Test: atest FrameworksCoreTests:TransactionExecutorTests
Test: atest FrameworksCoreTests:TransactionParcelTests
Test: atest WmTests:ClientLifecycleManagerTests
Flag: EXEMPT removing com.android.window.flags.disable_object_pool
Change-Id: Ib025874410ef09bc2487007642a321c934d52cef
parent 0bfc28ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment