Fix crash for installing an app
Changes: If the first available position for the newly installed app does not exist when we are inserting between an app and a page break item with the same position, we use the next available position. Bug: 907637 Test: AppListSyncableServiceTest.InvalidFirstAvailablePosition Change-Id: I8f1a7abad58ea838b452ac8a270c4a030df57a1e Reviewed-on: https://chromium-review.googlesource.com/c/1347208 Commit-Queue: Weidong Guo <weidongg@chromium.org> Reviewed-by:Achuith Bhandarkar <achuith@chromium.org> Reviewed-by:
Yury Khmel <khmel@chromium.org> Cr-Commit-Position: refs/heads/master@{#610286}
Showing
Please register or sign in to comment