diff options
| author | 2023-05-16 15:22:32 -0700 | |
|---|---|---|
| committer | 2023-05-17 10:14:38 -0700 | |
| commit | 89714ce0759dabe11b53495c77ef164c6de1c677 (patch) | |
| tree | 864a1e14cfe287748b7238bd0f511510635060d9 /java/src-debug | |
| parent | 85c9dc5d8f61c96d01d5156a7eb9e81d4a781e7c (diff) | |
Limit the number of parallel preview loadings in the image preview loader.
With ag/23192997 the preview cache size effectively increased the total
number of parallel image requests to a large enough value to DDoS Files
app's content provider i.e. when sharing a large number of images, cache
pre-population requests overlap with the actual preview loadings and
causing some of them to fail to load.
Update ImagePreviewImageLoader to use a Semaphore to limit the total
number of parallel preview loadings.
Fix: 283000541
Test: manual testing
Change-Id: I6152f6e589a8b36a4810d617633017b72202e66f
Diffstat (limited to 'java/src-debug')
0 files changed, 0 insertions, 0 deletions