diff options
| author | 2025-02-14 02:59:05 +0000 | |
|---|---|---|
| committer | 2025-03-10 23:28:17 -0700 | |
| commit | b42dcc8f4b314223ce2017a74fb8336dd18b8ee7 (patch) | |
| tree | c4c30c51b2e40f71c39af7234569ca0cbb339555 /libs/androidfw/PathUtils.cpp | |
| parent | 3e713107ff026d94a07622ac86196132839593f2 (diff) | |
Reduce memory usage for drawing app theme snapshot.
Since the content of the app theme snapshot is mostly a monochrome
image, drawing it in a smaller size should be a reasonable solution
to prevent memory waste.
Flag: com.android.window.flags.reduce_task_snapshot_memory_usage
Bug: 238206323
Test: verify the memory usage of app theme snapshot become much
smaller, and there is no obvious difference on recents animation.
Change-Id: Ibc74938adbf323e4bf703135db17aaf8f7433f72
Diffstat (limited to 'libs/androidfw/PathUtils.cpp')
0 files changed, 0 insertions, 0 deletions