Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Intents: Deduplicate host conditions in ARC intent filters
It's common for ARC intent filters to duplicate host conditions, due to the way that conditions are specified in AndroidManifest.xml. Deduplicating these hosts takes some one-off time during conversion from ARC to App Service intent filters but saves space (especially since intent filters are stored in multiple places in memory) and time (since many operations need to compare against all hosts in the list). On a device with a variety of Android apps installed (including Google Maps, which has a notably large number of duplicated hosts), this change reduced the size of the serialized PreferredApps file by ~15%. Bug: 1251031 Change-Id: I69fda9bfce9c7e0252bd5e7984ff2b904879a593 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3195360 Reviewed-by: Maggie Cai <mxcai@chromium.org> Commit-Queue: Tim Sergeant <tsergeant@chromium.org> Cr-Commit-Position: refs/heads/main@{#931875}
- Loading branch information