Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 220239e3 authored by Yorke Lee's avatar Yorke Lee
Browse files

Fix missing break in Icon class

This causes RuntimeExceptions to fall through to the next
case statement.

Bug: 21168985
Change-Id: Ie69610b22c6caf9f6536ebd48673067880cb75a2
parent c9be9f4d
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -228,6 +228,7 @@ public final class Icon implements Parcelable {
                                    getResPackage()),
                                    getResPackage()),
                            e);
                            e);
                }
                }
                break;
            case TYPE_DATA:
            case TYPE_DATA:
                return new BitmapDrawable(context.getResources(),
                return new BitmapDrawable(context.getResources(),
                    BitmapFactory.decodeByteArray(getDataBytes(), getDataOffset(), getDataLength())
                    BitmapFactory.decodeByteArray(getDataBytes(), getDataOffset(), getDataLength())