commit | 32c79d02e04293b9b3ede427e54861074c700c1a | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Tue May 07 17:25:30 2024 +0000 |
committer | Prabir Pradhan <prabirmsp@google.com> | Tue May 07 17:25:30 2024 +0000 |
tree | c61d934c057d236adcdd8fe9c7eb5a69440aa25b | |
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