diff options
author | Jeff Sharkey <jsharkey@android.com> | 2010-11-16 13:46:34 -0800 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2010-11-16 13:47:37 -0800 |
commit | 4bd1a3dbcad2ae424293e276434b45ebee97248d (patch) | |
tree | 4073c54ebeff628e249a3edec1f80910d990792b | |
parent | 4e74e181d1f06b31ebe98589dbe2ee9ddb722173 (diff) | |
download | frameworks_base-4bd1a3dbcad2ae424293e276434b45ebee97248d.zip frameworks_base-4bd1a3dbcad2ae424293e276434b45ebee97248d.tar.gz frameworks_base-4bd1a3dbcad2ae424293e276434b45ebee97248d.tar.bz2 |
Show Bitmap.Config value when unable to handle.
Part of investigating http://b/3201172.
Change-Id: I76a31c968b4c60beb079349a0722aa9a4ea5921c
-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 9dc291b..0de53f2 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) { |