Load the old ARC icon file to resolve the icon lag issue when migration.
When the system is migrated from the adaptive icon disable to enabled, all ARC apps request the foreground and background icon files, to generate the adaptive icons. And it might take long time to load ARC icons. Modify ArcAppIcon to temporarily load the adaptive icon from the old file path if the foreground file doesn't exist, and still call arc prefs to request the adaptive icon files. Add the test case and the default app(test app3), which has the old icon file only, to verify the icon can be loaded. BUG=1083331 Change-Id: Icb848c53f9ba36d1af62e55cfcb7b1d9565b092b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2344437Reviewed-by:Long Cheng <lgcheng@google.com> Commit-Queue: Nancy Wang <nancylingwang@chromium.org> Cr-Commit-Position: refs/heads/master@{#797057}
Showing
159 Bytes
180 Bytes
173 Bytes
173 Bytes
270 Bytes