-
Jiewei Qian authored
SystemWebAppManager::NeedsUpdate() will check whether current locale is consistent with the locale that system web apps were installed with. If not (i.e. when user changes it), request to reinstall apps in order to keep their launcher localization (title, icons, etc.) synchronized to current locale. - Add a preference kSystemWebAppLastInstalledLocale to store locale at installation time. - Check install results of apps before storing locale Fixes: 1020442 Change-Id: I16f99a81fb5a06a634078914ff4fd9d745f5f73c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1898887Reviewed-by:
calamity <calamity@chromium.org> Commit-Queue: Jiewei Qian <qjw@chromium.org> Cr-Commit-Position: refs/heads/master@{#712907}
6b65efc1