diff options
| author | 2025-01-08 14:24:27 -0800 | |
|---|---|---|
| committer | 2025-01-08 14:24:27 -0800 | |
| commit | 626edb8f8c5450fafaee96aaf702cb9e01c55ab8 (patch) | |
| tree | 2eeb7a21211fb3c125950e5bdacb9503a2a67bdf /libs/androidfw/AttributeResolution.cpp | |
| parent | dfe161dd0d42921d7ae1cfe9587ef9cd4eee3d41 (diff) | |
PointerIcon: Ensure bitmap size and hotspot are scaled consistently
The density-dependent size of the bitmap is already casted to an int
before we scale it by pointerScale. However, the hotspot did not follow
the same scaling logic, since it was not casted to int before applying
pointerScale. In this CL, we make both the scaling logics consistent.
Bug: 385663202
Change-Id: I375008e5603a9e50e4e7132c8faffda3a1cdd765
Test: manual
Flag: EXEMPT bug fix
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions