summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorCharles Chen <charlesccchen@google.com>2021-03-15 20:35:45 +0800
committerCharles Chen <charlesccchen@google.com>2021-03-15 20:35:45 +0800
commit2a1120fac4a0afed9da9c0cbddbfc2287ff0702b (patch)
treedaf2dac5709ceba6bb165d2ff39b9b52250cbd78 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parenta7ee1a9a4936985dc0e672903b1a3c45e68d1ef8 (diff)
Workaround to use System UI Context
... for SystemGesturesPointerEventListener This CL passes System UI Context to SystemGesturesPointerEventListener instead of System Context's DisplayContext because DisplayContext is not a UI context and violates IncorrectContextViolation when trying to access GestureDetector. Note that we should still migrate the usage to window context because it may still an issue if device can change its display metrics at runtime. [1] attempted to do so but hit performance issue b/181814478. [1]: 68c3024767a0ec62636e8440d261193984b3172b Bug: 177650348 Test: atest WmTests Change-Id: Ie7695270d2e2dd15c749c07c2bde2f6f98bc5b59
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions