commit | 220239e37110bf7d97aa92270be5a12ab0cf5e24 | [log] [tgz] |
---|---|---|
author | Yorke Lee <yorkelee@google.com> | Thu May 14 18:22:02 2015 -0700 |
committer | Yorke Lee <yorkelee@google.com> | Thu May 14 18:24:31 2015 -0700 |
tree | 752f10bf6f74315a45793106aa40cc9f177b4652 | |
parent | c9be9f4d5bcf513654dbca24e648312d61e04bfc [diff] |
Fix missing break in Icon class This causes RuntimeExceptions to fall through to the next case statement. Bug: 21168985 Change-Id: Ie69610b22c6caf9f6536ebd48673067880cb75a2
diff --git a/graphics/java/android/graphics/drawable/Icon.java b/graphics/java/android/graphics/drawable/Icon.java index 668a14a..0366246 100644 --- a/graphics/java/android/graphics/drawable/Icon.java +++ b/graphics/java/android/graphics/drawable/Icon.java
@@ -228,6 +228,7 @@ getResPackage()), e); } + break; case TYPE_DATA: return new BitmapDrawable(context.getResources(), BitmapFactory.decodeByteArray(getDataBytes(), getDataOffset(), getDataLength())