[IntentHandling] Skip empty app id for preferred app change synced ARC.
Currently I spotted couple of cases where there is preferred app stored in the PreferredApps file but has empty app id. I cannot consistently reproduce this but both cases happened to an Android app. In addition to this, the GetAppIdByPackageName is the only place in the code that is possible to introduce an empty app id as far as I can found. Add a skip and ERROR log to avoid the scenario and hopefully help to debug this issue and fix it properly. BUG=853604 Change-Id: I6ae0d338fff8141f2c3748ee810f62d05f7e6d7a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2418512 Commit-Queue: Maggie Cai <mxcai@chromium.org> Reviewed-by:Dominick Ng <dominickn@chromium.org> Cr-Commit-Position: refs/heads/master@{#808784}
Showing
Please register or sign in to comment