• Tao Wu's avatar
    Revert "ambient: Handle key press exit path" · c0e676f6
    Tao Wu authored
    This reverts commit 5e5acdd4.
    
    Reason for revert: Some corner cases need to be handled.
    
    Bug: b/175398984
    
    Original change's description:
    > ambient: Handle key press exit path
    >
    > Currently ambient mode container does not have focus. A key press will
    > enter into the login pod.
    > To be consistent with other platforms, the key press is consumed in
    > ambient mode by making the ambient mode container activatable.
    >
    > Bug: b/173642446
    > Test: new unittest
    > Change-Id: I2331079635834972e292076e55bec54dffe6f507
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2577923
    > Reviewed-by: Xiaohui Chen <xiaohuic@chromium.org>
    > Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
    > Commit-Queue: Tao Wu <wutao@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#835380}
    
    TBR=xiyuan@chromium.org,xiaohuic@chromium.org,wutao@chromium.org,chromium-scoped@luci-project-accounts.iam.gserviceaccount.com
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Bug: b/173642446
    Change-Id: I1789704605085aece066ad65d87241594d222619
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2593746
    Commit-Queue: Tao Wu <wutao@chromium.org>
    Reviewed-by: default avatarTao Wu <wutao@chromium.org>
    Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
    Reviewed-by: default avatarXiaohui Chen <xiaohuic@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#837320}
    c0e676f6
ambient_container_view.h 1.42 KB