• David Black's avatar
    Add from_user param to screen context requests. · 8ed6a68a
    David Black authored
    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: default avatarXiaohui Chen <xiaohuic@chromium.org>
    Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#582459}
    8ed6a68a
assistant_screen_context_controller.h 3.58 KB