diff options
author | Bill Lin <lbill@google.com> | 2021-03-03 18:44:20 +0800 |
---|---|---|
committer | Bill Lin <lbill@google.com> | 2021-03-08 11:20:07 +0800 |
commit | 908c5afb3012f95cdf1fc774b8022cc0d2fbeef0 (patch) | |
tree | 80ee253e8e0e37e6193e2dcb3a48811c02dd7189 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | ca5181f90a87d537a64d702fa3535ab1823f3baa (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions