Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9281084a authored by Prabir Pradhan's avatar Prabir Pradhan Committed by Android Build Cherrypicker Worker
Browse files

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
Test: manual
Flag: EXEMPT bug fix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:626edb8f8c5450fafaee96aaf702cb9e01c55ab8)
Merged-In: I375008e5603a9e50e4e7132c8faffda3a1cdd765
Change-Id: I375008e5603a9e50e4e7132c8faffda3a1cdd765
parent 4109b479
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment