Reorder the shelf id checking.
The ARC app shelf id could have prefix "shelf_group:", and AppService can't find the app type for that shelf id, so check ARC app shelf id first before checking from AppService record. Update ARC tracker to use the app shelf id as the app id and checking the profile when getting the ARC shelf id to resolve the unit test failed issue and user switch crash issue due to the above change.. BUG=1011235 Change-Id: I817f059bb0cf65dc89a458b6b2bdf78ab22afc19 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1984783Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Nancy Wang <nancylingwang@chromium.org> Cr-Commit-Position: refs/heads/master@{#728038}
Showing
Please register or sign in to comment