forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arc: Fix crash on item name update in app list.
This fixes 2 issues. First one when name is set it sends whole metadata to ash side. That data might included invalid position (true for OEM folder, when it is created from scratch it contains default invalid position which is corrected on ash side). As a result correct position is overwritten by initial invalid position and this put app list model to "crash ready" state. Crash is triggered when another code accesses this position for own purpose. Second problem is flakiness in setting OEM folder name. It may happen when app_list_controller_ is not active and this call is just ignored and folder appears in app list with name "OEM Folder" instead of Samsung. To fix this we need make sure that ChromeAppListItem itself is also updated. Test: Locally Bug: b/78473786 Change-Id: If15efc8103e56b04a9da3bc6de4664eb5676d12a Reviewed-on: https://chromium-review.googlesource.com/1029174 Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Yury Khmel <khmel@chromium.org> Cr-Commit-Position: refs/heads/master@{#554119}
- Loading branch information
Showing
6 changed files
with
36 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
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