diff options
| author | 2023-02-15 20:39:44 +0100 | |
|---|---|---|
| committer | 2023-02-28 14:29:34 +0000 | |
| commit | 6f9239635aa9d0726b6c548998c12345029743de (patch) | |
| tree | 8823823354be1a5b0032d572eaa86ed1123b0409 /api/api_test.go | |
| parent | 45b4cad82c79c7d76f05a6e16e12d829224f44aa (diff) | |
[DO NOT MERGE] Wait for preloading images to complete before inflating notifications
NotificationContentInflater waits on SysUiBg thread for images to load, with a timeout
of 1000ms.
Test: 1. Build a test app that posts MessagingStyle notifications with a huge image (8k+) set as data Uri.
2. SystemUi should not ANR
3. adb logcat | grep NotificationInlineImageCache - shows timeout/cancellation logs
Bug: 252766417
Bug: 223859644
Change-Id: I341db60223214cf2282b5c0270e343e1ce95fa01
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions