diff options
| author | 2024-01-22 08:02:38 +0000 | |
|---|---|---|
| committer | 2024-01-22 08:17:56 +0000 | |
| commit | 6467e27724732ad857c577cee2f67bb0a322a4c4 (patch) | |
| tree | bb5bfc694001d624607fae35d3c258f85d04be1b /libs/androidfw/StringPool.cpp | |
| parent | d9d1cadac4196297c187699fa63f03201e9f13de (diff) | |
Optimize memory used for creating saved recording notification
Updated the SavedRecording object to save the icon for notification
thumbnail, instead of bitmap, as bitmap is later converted to Icon.
Updated the size of the thumbnail to match the size required for the
notification, to avoid multiple resizings.
memory profile -
before http://screen/mDN2iC5SsFDYdi5 29MB
after http://screen/AxhE9HoAWqwGyqG 10MB
Test: manually tested
Fixes: http://b/278223891
Flag: None
Change-Id: I4f65a8ed542819d741968ed0e44d430307369fd0
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions