diff options
author | Alan Viverette <alanv@google.com> | 2016-02-04 16:58:14 -0500 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2016-02-04 16:58:14 -0500 |
commit | 2ac46f1bda969b2d042ac35ba89cda3e595d1c4a (patch) | |
tree | d78d2d186460fb411b8db7e695304a601c1eba76 /tools/aapt2/diff/Diff.cpp | |
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
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions