Fix OneHandedGestureHandler incorrect InputMonitor behavior
1) Fix CTS WindowInsetsBehaviorTests test fail in NavBar 3 Button mode When device set NavBar 3 Button mode, OneHandedGestureHandler will monitor the InputEvent and pilferPointers() over NavBar region and break WindowInsetsBehaviorTests a) systemGesture_excludeViewRects_withoutAnyCancel b) systemGesture_notExcludeViewRects_withoutAnyCancel 2) In landscape, disposeInputChannelInputMonitor in OneHandedGestureHandler 3) Add dump in OneHandedGestureHandler for bugreport Test: atest android.systemui.cts.WindowInsetsBehaviorTests Test: manual test check the UX feel good on 3 Button mode Bug: 181025710 Change-Id: I4c30578f45e5a569d7b5a1698d3d30229cecb13f
Loading
Please register or sign in to comment