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

Skip to content
Commit 2ac46f1b authored by Alan Viverette's avatar Alan Viverette
Browse files

Ensure Bitmap.getDefaultDensity() matches DENSITY_DEVICE

Otherwise bitmaps constructed without a target display are incorrectly
scaled by a factor of (DENSITY_DEVICE / DENSITY_DEFAULT) when rendered
to a Canvas whose density has been specified correctly.

Bug: 26817900
Change-Id: I45edfc7c0cbdf84a267d5bedacb0548659ede301
parent 95085d15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment