Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 908c5afb authored by Bill Lin's avatar Bill Lin
Browse files

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
parent ca5181f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment