-
Xiaoqian Dai authored
For a fling event, if the hotseat was hidden when the drag started, only if the fling event position exceeds the restore-to-maximized threshold, the window will be taken back to home screen. Also, remove the logic to decide if drag can be allowed from DragWindowFromShelfController as ShelfLayoutManager already handled it. Bug: 997885 Change-Id: I35b9c35df1477b92b5c01db49c9302b6f3bace60 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1902176 Commit-Queue: Xiaoqian Dai <xdai@chromium.org> Reviewed-by:
Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#713677}
5ff2e973