Fix spelling of "HARDWARE"
Happened to notice this while reading the code for other purposes. Test: Treehugger Change-Id: I2d1b1e239bfd8d2506a62173fe854f608a45f5b0
This commit is contained in:
@@ -440,7 +440,8 @@ public class BitmapFactory {
|
||||
if (opts == null) return;
|
||||
|
||||
if (opts.inBitmap != null && opts.inBitmap.getConfig() == Bitmap.Config.HARDWARE) {
|
||||
throw new IllegalArgumentException("Bitmaps with Config.HARWARE are always immutable");
|
||||
throw new IllegalArgumentException(
|
||||
"Bitmaps with Config.HARDWARE are always immutable");
|
||||
}
|
||||
|
||||
if (opts.inMutable && opts.inPreferredConfig == Bitmap.Config.HARDWARE) {
|
||||
|
||||
Reference in New Issue
Block a user