Add from_user param to screen context requests.
This parameter is needed to distinguish between user initiated requests and requests that we make ourselves. User generated requests initiate a conversation interaction that will return contextual cards. This may result from a suggestion chip press or Assistant stylus tool selection. Requests that do not originate from the user will not return contextual cards or start a conversation interaction. Instead, we will cache the screen context to send alongside subsequent voice/text queries for context. This portion is not yet wired up. Bug: b:112113187 Change-Id: I12cd531745d174738988808d7637c8529ddd80d0 Reviewed-on: https://chromium-review.googlesource.com/1170428 Commit-Queue: David Black <dmblack@google.com> Reviewed-by:Xiaohui Chen <xiaohuic@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#582459}
Showing
Please register or sign in to comment