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

Skip to content
Commit 93a5d636 authored by jinchul.kim's avatar jinchul.kim Committed by Steve Kondik
Browse files

Trim task thumbnail within MAX_RECENT_BITMAPS.

Task thumbnails can be hold as much as length of mRecentTasks because
freeLastThumbnail only works when any task is added and it might cause
the system heavy.

Free lastThumbnail when it reuses exist taskRecord also to keep
thumbnails within MAX_RECENT_BITMAPS.

Change-Id: I932a16c20acb3d8ead2a238ba221a0fa19484b9a
parent 44c8c5b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment