diff options
| author | 2010-11-16 18:10:02 -0800 | |
|---|---|---|
| committer | 2010-11-16 18:10:02 -0800 | |
| commit | 4fbfca39155f3f4a5f87c0b51dd61ece1a5bccb6 (patch) | |
| tree | df6f3c2a914dfc8cec64bac2fcd02ce84687849a | |
| parent | b2475011bc6d02f3da91e754a5898cd7f44e8eb6 (diff) | |
| parent | 4bd1a3dbcad2ae424293e276434b45ebee97248d (diff) | |
Merge "Show Bitmap.Config value when unable to handle."
| -rw-r--r-- | graphics/java/android/renderscript/Allocation.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/java/android/renderscript/Allocation.java b/graphics/java/android/renderscript/Allocation.java index 9dc291b1650e..0de53f2db942 100644 --- a/graphics/java/android/renderscript/Allocation.java +++ b/graphics/java/android/renderscript/Allocation.java @@ -352,7 +352,7 @@ public class Allocation extends BaseObj { if (bc == Bitmap.Config.RGB_565) { return Element.RGB_565(rs); } - throw new RSInvalidStateException("Bad bitmap type."); + throw new RSInvalidStateException("Bad bitmap type: " + bc); } static private Type typeFromBitmap(RenderScript rs, Bitmap b) { |