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

Skip to content
Commit 36af1e4c authored by Sihua Ma's avatar Sihua Ma
Browse files

Move getRemoteCollectionItems to RemoteViewsFactory

This brings more accuracy when estimating the collection size as Bitmap
in the local service could share the same address, so the BitmapCache
could contain fewer duplicates. Additionally the ApplicationInfo will be
having the same address which allows us to utilize allowSquashing to
eliminate duplicate writes to the parcel

Manually verified that the size of the collection shrinks by ~33% from
600k to 400k

Test: Manual
Bug: 245950570
Change-Id: I16ddba00465e64613f6dbe836da6bd0693da7d4c
parent dc95e818
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