summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Sihua Ma <sihua@google.com> 2024-03-26 00:25:45 +0000
committer Sihua Ma <sihua@google.com> 2024-03-26 00:50:20 +0000
commit36af1e4ca27bfab2d3d22d940e52d46f41756d89 (patch)
tree38bccf15655989609c4f8b1cb60ec420d1ec1537 /libs/input/PointerController.cpp
parentdc95e818b4aef2f64f94e9b7788224ef13168e11 (diff)
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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions