diff options
| author | 2023-02-01 16:57:21 +0100 | |
|---|---|---|
| committer | 2023-09-27 14:00:34 +0200 | |
| commit | ea993de0f78f4aae7fb22f92ce30b5f292ca9ec7 (patch) | |
| tree | 3498581bbc4ae5aa9377cdb76980dd3d867720b6 /libs/androidfw/FileStream.cpp | |
| parent | 82894ba28190a0a6be4d597d09586506672351f8 (diff) | |
Do not keep WearableExtender background bitmaps
setBackground() call was deprecated in API level 29 - however we
still keep the background bitmap in memory - both in system server
and systemui - if the app decides to set it. This is a rather big
contributor to Notification memory use.
This change makes setBackground() call a no-op on devices running API 35
or newer.
Bug: 270551184
Test: newly created CTS and unit tests run on cheetah
Change-Id: I6e50ac2e6c9b009512f0baf5442792c2a3b747ec
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions