commit | c07330f630d5ad5d90151c548815c4d509c642fa | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Thu Feb 22 18:58:40 2024 +0000 |
committer | Prabir Pradhan <prabirmsp@google.com> | Fri Feb 23 16:19:28 2024 +0000 |
tree | 42dba6f312eac57ffb059b0969e146e7951b9d3b | |
parent | 4a18b50761155b2ff190d5c70ece2c9d328ae3e3 [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