GestureNav: Detach layout when cancelled
SideSlideLayout is a frame layout enclosing the arrow widget/glow UI used in gesture navigation. It gets detached from view hierarchy after use. There is a bug not detaching the layout if navigation UI is cancelled/not triggered. This CL makes sure the layout is detached so unnecessary views won't stay in the hierarchy when not in use. Added tests to verify the behavior. Bug: 1100717 Change-Id: I129ec5fe84d14023532bf5e0dd6a110ea84e354d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2274498 Commit-Queue: Jinsuk Kim <jinsukkim@chromium.org> Reviewed-by:Donn Denman <donnd@chromium.org> Cr-Commit-Position: refs/heads/master@{#783887}
Showing
Please register or sign in to comment