diff options
author | 2024-05-07 17:25:30 +0000 | |
---|---|---|
committer | 2024-05-07 17:25:30 +0000 | |
commit | 32c79d02e04293b9b3ede427e54861074c700c1a (patch) | |
tree | c61d934c057d236adcdd8fe9c7eb5a69440aa25b /libs/input/PointerController.cpp | |
parent | 4058c39493498d4628b6693f0091b80eab78ac54 (diff) |
PointerIcon: Treat 0 as a valid type index for system icons
PointerIcon.TYPE_ALIAS maps to the style type index of 0, which we
incorrectly treat as "invalid" in the code. This means we can never load
the TYPE_ALIAS system icon correctly.
Fix this by using an index of -1 to represent an invalid index.
Fixes: 339233006
Test: presubmit
Change-Id: I28cb4ce53dafa9de88959ba425889fec42d1e722
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions