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

Commit ea993de0 authored by Jernej Virag's avatar Jernej Virag
Browse files

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
parent 82894ba2
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