diff options
| author | 2025-01-06 04:45:50 +0000 | |
|---|---|---|
| committer | 2025-01-06 04:45:50 +0000 | |
| commit | 2c2ccac1e30542d65c434f8863cde225c7472800 (patch) | |
| tree | e089f13c0a12283a21cd4ab59a27988cabeb301d /libs/androidfw/Util.cpp | |
| parent | 43b05634f5da0334d3fb78c422e8a78200a8a1f4 (diff) | |
Reduce extra binder call for take task snapshot.
It is not necessary to take the task snapshot from the Shell because
it is usually executed in the SystemUI process. The Launcher can perform
the same operation through ActivityManagerWrapper. Which can also help
release the memory since it won't referened by 3 processes.
Flag: EXEMPT bugfix
Bug: 238206323
Test: close task from recents, verify SystemUI won't hold the
snapshot memory
Change-Id: Ib726d3a70f5f2aa33f32b7dc189e7b7a8c2dd1b1
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions