commit | 2ac46f1bda969b2d042ac35ba89cda3e595d1c4a | [log] [tgz] |
---|---|---|
author | Alan Viverette <alanv@google.com> | Thu Feb 04 16:58:14 2016 -0500 |
committer | Alan Viverette <alanv@google.com> | Thu Feb 04 16:58:14 2016 -0500 |
tree | d78d2d186460fb411b8db7e695304a601c1eba76 | |
parent | 95085d154b1ea6b4db3ae14d39a1c8c8a6560f78 [diff] |
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