summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Valentin Iftime <valiiftime@google.com> 2023-02-15 20:39:44 +0100
committer Iavor-Valentin Iftime <valiiftime@google.com> 2023-02-28 14:49:53 +0000
commitb9cd15ad8a2f87893164ad2ab518039bb0b61424 (patch)
tree384477f09b21b7371c6ba3efd1b2f4c38630a967 /libs/androidfw/StringPool.cpp
parent240d62f76fd520e1232706ab288e9daed85930e1 (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 (cherry picked from commit 195043f40e46ddcd2fe534a9dac344792d39d91c) Merged-In: I341db60223214cf2282b5c0270e343e1ce95fa01
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions