summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2024-02-22 18:58:40 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2024-02-23 16:19:28 +0000
commitc07330f630d5ad5d90151c548815c4d509c642fa (patch)
tree42dba6f312eac57ffb059b0969e146e7951b9d3b /libs/hwui/FrameInfoVisualizer.cpp
parent4a18b50761155b2ff190d5c70ece2c9d328ae3e3 (diff)
InputManagerService: Reload pointer icons only when density changes
Reloading pointer icons is a non-trivial task that requires I/O for reading icons from files. Reduce the number of times icons need to be reloaded by only reloading icons when the display density changes. Other display changes, such as orientation changes, do not need the pointer icons to be reloaded. Bug: 321324470 Bug: 325133368 Test: adb shell wm density X Change-Id: I9e502f3ba054da0b74f8006f9efcd53f3552b181
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions