summaryrefslogtreecommitdiff
path: root/opengl/java/android
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2024-01-31 21:00:09 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2024-01-31 21:12:48 +0000
commit8ce76f4562ff64f58bf558679a20cffb20f9ff14 (patch)
treed17ff711843e6a2649edb1a65dcc2ceb489f1675 /opengl/java/android
parent1fbbba06d4b778cc36fc84b81962667c4e7afea2 (diff)
Pointer Icon Refactor: Cache all used display contexts
The display context is used to load pointer icons. Before the pointer icon refactor, the pointer icon could only be present on one display, so we only cached a single context to load pointer icons. Additionally, the cached context was not updated when the display changed. Update the code to lazily cache the context for all displays, and clear the cache when the display changes or is removed. Bug: 293587049 Test: atest InputManagerServiceTests Change-Id: I5355d1fdde0118b3e85383e7f95475bfccc5e72d
Diffstat (limited to 'opengl/java/android')
0 files changed, 0 insertions, 0 deletions