commit | 8c021e5b9750e2fd1b728a2a5578af66a46d4a28 | [log] [tgz] |
---|---|---|
author | Chris Banes <chrisbanes@google.com> | Mon Dec 07 13:13:05 2015 +0000 |
committer | Chris Banes <chrisbanes@google.com> | Mon Dec 07 14:37:36 2015 +0000 |
tree | da90f8b61aadad75457f18b1aca6f671227d3f18 | |
parent | f2c512bed2c72c334fd176f190f2eda0702742ea [diff] |
Fix rounding error in Palette's region calculation Can result in Bitmap.getPixels() throwing a IllegalArgumentException with certain bitmaps. I've haven't been able to recreate the issue but it's guaranteed not to happen now with this CL. BUG: 25760671 Change-Id: I12648bb59d2c281a5cd0c2c7e3dcf0fe7df3e200