commit | 68c3024767a0ec62636e8440d261193984b3172b | [log] [tgz] |
---|---|---|
author | Charles Chen <charlesccchen@google.com> | Mon Jan 18 14:27:42 2021 +0800 |
committer | Charles Chen <charlesccchen@google.com> | Wed Feb 24 17:56:49 2021 +0800 |
tree | 4f8d5718598259e0344aa0b8e3f8cbb8a49a664d | |
parent | caf9ae8b52c7058badd551938f657d9335ffce26 [diff] |
Migrate SystemGesturePointerEventListener to WindowContext Previously system context derived display context passed to SystemGesturePointerEventListener. After R, it threw IncorrectContextUsageViolation when initialization because display context is not a UI context. This CL changes to pass window context to fix the Violation. Bug: 177650348 Test: atest WmTests Test: atest DisplayPolicyTests#testDisplayPolicyNoCrash Change-Id: I0d17327d8a8c14ec626c0dd9ad1a4e8529174598