commit | 6467e27724732ad857c577cee2f67bb0a322a4c4 | [log] [tgz] |
---|---|---|
author | bvineeth <bvineeth@google.com> | Mon Jan 22 08:02:38 2024 +0000 |
committer | bvineeth <bvineeth@google.com> | Mon Jan 22 08:17:56 2024 +0000 |
tree | bb5bfc694001d624607fae35d3c258f85d04be1b | |
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