🤝 Fix launching TWAs from notifications.
While moving Chrome over to androidx.browser, Strings representing package names were replaced with Tokens that represent package names and their signature. Strings have hashCode overridden to provide value equality whereas Tokens don't, so checking for the existence of an equivalent Token in a Set of Tokens doesn't work. This change manually looks through the set of Tokens and calls Token#matches on each one. Bug: 1052288 Change-Id: Ia2ad8bf3272853acbd07ae36aad33e9c78fb9e8f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2078548 Commit-Queue: Peter Conn <peconn@chromium.org> Reviewed-by:Michael van Ouwerkerk <mvanouwerkerk@chromium.org> Cr-Commit-Position: refs/heads/master@{#745414}
Showing
Please register or sign in to comment