diff options
| author | 2023-07-12 15:29:36 +0000 | |
|---|---|---|
| committer | 2023-09-18 10:08:00 +0000 | |
| commit | 51322d6b2aff3a761dfd3e5943ce417a07aae6e2 (patch) | |
| tree | 112413d6247c0d49925895f79f8bdb3dad40917c /libs/androidfw/FileStream.cpp | |
| parent | a41ed50655b0e62eed6860bc216b1a17aa2617b3 (diff) | |
BigPicture lazy loading
This CL covers the followign so far:
- after inflation: read the image header (if we can) and set a placeholder or set the full image (if there is no header)
- on expansion: read the full image and set it on the ImageView
- on collapse: free the full image and set the placeholder again
- throttle the jobs started by the expand/collapse calls
Gated by the statusbar flag bigpicture_notification_lazy_loading.
Bug: 283082473
Test: atest BigPictureIconManagerTest
Change-Id: I1f62516862a7bb8471b09ddb2c546ec696bf83a0
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions