🎫 Correctly notice when no TWA is found for a scope.
When updating our code to AndroidX.Browser's API changes[1] this bug crept in. Previously `execute` would return a boolean that would be false if we couldn't find a TWA for the given scope. The new version, returns a ListenableFuture. While moving the code over, this requirement got skipped and now when a TWA doesn't exist, we still return `true`. This CL fixes that. [1]: https://chromium-review.googlesource.com/c/chromium/src/+/1940329 Bug: 1082718 Change-Id: I78aef4695d1467748590a62b3192d8a76cfcbfc1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2226816Reviewed-by:Ella Ge <eirage@chromium.org> Commit-Queue: Peter Conn <peconn@chromium.org> Cr-Commit-Position: refs/heads/master@{#774537}
Showing
Please register or sign in to comment