[TTS] Fix a bug with literal tap search preloading
Fixes a bug that caused the SERP to show blank. This was actually due to preloading when that was inappropriate (on a literal tap) when the user had accepted the opt-in. This CL fixes the logic to make sure we have a resolving gesture before we prefetch - server access is gated on the resolve since it's the primary server request. The Cl with the bug is https://crrev.com/c/2557337. BUG=1160041 Change-Id: Ida97ffb037022b039c5d843f770edd2907716836 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2597886 Auto-Submit: Donn Denman <donnd@chromium.org> Commit-Queue: Theresa <twellington@chromium.org> Reviewed-by:Theresa <twellington@chromium.org> Reviewed-by:
Sinan Sahin <sinansahin@google.com> Cr-Commit-Position: refs/heads/master@{#838694}
Showing
Please register or sign in to comment