diff options
author | Charles Chen <charlesccchen@google.com> | 2021-01-18 14:27:42 +0800 |
---|---|---|
committer | Charles Chen <charlesccchen@google.com> | 2021-02-24 17:56:49 +0800 |
commit | 68c3024767a0ec62636e8440d261193984b3172b (patch) | |
tree | 4f8d5718598259e0344aa0b8e3f8cbb8a49a664d /rs/java/android/renderscript/RenderScript.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions