mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-23 02:07:36 +01:00
Issue 359: Can't decompile Notif Pro 0.31 / Tested on other apk
This commit is contained in:
parent
43993551bd
commit
9677119324
@ -62,6 +62,11 @@ public class Res9patchStreamDecoder implements ResStreamDecoder {
|
|||||||
ImageIO.write(im2, "png", out);
|
ImageIO.write(im2, "png", out);
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
throw new AndrolibException(ex);
|
throw new AndrolibException(ex);
|
||||||
|
} catch (NullPointerException ex) {
|
||||||
|
// In my case this was triggered because a .png file was
|
||||||
|
// containing a html document instead of an image.
|
||||||
|
// This could be more verbose and try to MIME ?
|
||||||
|
throw new AndrolibException(ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user