-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CCA: Fix issue that thumbnail might not be updated when do bulk deletion
When delete many files at once, sometimes the next candidate file will be deleted while generating the thumbnail and cause error. This CL fixes the following issues by: 1. Catch DOMException when operating the candidate thumbnail file and retry after the camera folder becomes stable. 2. Drive-by fix an issue that might fail when reporting error. Bug: b:255502878 Test: Manually Change-Id: I6a3e345571d1dc987e09af64742c0d54dcc58bf4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3993623 Reviewed-by: Chu-Hsuan Yang <chuhsuan@chromium.org> Auto-Submit: Wei Lee <wtlee@chromium.org> Commit-Queue: Chu-Hsuan Yang <chuhsuan@chromium.org> Cr-Commit-Position: refs/heads/main@{#1067450}
- Loading branch information
Wei Lee
authored and
Chromium LUCI CQ
committed
Nov 4, 2022
1 parent
ed348a4
commit 36befd6
Showing
3 changed files
with
59 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters