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

Commit d9e82474 authored by wilsonshih's avatar wilsonshih
Browse files

Tracking task snapshot usage in client process.(3/N)

Track hardware buffer usage within a TaskSnapshot in the client-side
process.
Cache task snapshot objects in TaskSnapshotManager and reuse existing
snapshots based on capture time, to prevent the system server from
always returning a new snapshot object to client if possible.

Flag: com.android.window.flags.reduce_task_snapshot_memory_usage
Bug: 238206323
Test: atest TaskSnapshotControllerTest
Change-Id: I81928a2ff326300441b2aa5030fa3b44f975dc86
parent 904b96b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment