diff options
author | 2024-02-23 16:45:44 +0000 | |
---|---|---|
committer | 2024-02-24 00:30:46 +0000 | |
commit | 05c4854f1fff2be8d3ce1358cdbd698cb08eece8 (patch) | |
tree | 38f83c1b7aaca6893bfe21d366eae1b3c20931c4 /libs/androidfw/AssetManager2.cpp | |
parent | 6f918e27d07788d9786029e4961f72fd0bfb9720 (diff) |
Reload pointer icons from the UiThread
We're still seeing crashes resulting from frames of an animation
icon having different sizes while loading. The most likely explanation
for this happening is that the display density changes midway through
loading the animation icon, at which point size of the scaled animation
frame will change.
We are already loading the icon from the Display thread. Instead, try
loading the icons from the UiThread, which should hopefully not
receive density updates midway through processing a task.
This is a speculative fix.
Bug: 321324470
Bug: 325133368
Test: adb shell wm density X
Change-Id: Ic2b903d5fdec534aeb32530b124d3b699c40ac33
Diffstat (limited to 'libs/androidfw/AssetManager2.cpp')
0 files changed, 0 insertions, 0 deletions