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

Commit a91a0c5d authored by Hyunyoung Song's avatar Hyunyoung Song Committed by android-build-merger
Browse files

Merge "Wrap StackOverflowError in NotFoundException. Bug: 67462465 Test:...

Merge "Wrap StackOverflowError in NotFoundException. Bug: 67462465 Test: builds and tested using faulty apk with recursive drawable. Change-Id: I47691343dae892beb5ed8c1c66c33edefade321e" into oc-mr1-dev am: 38468993
am: 3702ce39

Change-Id: I2ca8d4fb271245e3fc9b7f406456e3dc54dd96cd
parents df2a7f9f 3702ce39
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -796,7 +796,7 @@ public class ResourcesImpl {
                dr = Drawable.createFromResourceStream(wrapper, value, is, file, null);
                is.close();
            }
        } catch (Exception e) {
        } catch (Exception | StackOverflowError e) {
            Trace.traceEnd(Trace.TRACE_TAG_RESOURCES);
            final NotFoundException rnf = new NotFoundException(
                    "File " + file + " from drawable resource ID #0x" + Integer.toHexString(id));