mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-07 10:35:52 +01:00
XmlPullStreamDecoder: do not close streams after decode.
They're passed to XmlPullStreamDecoder, so should be managed by calling object.
This commit is contained in:
parent
f05f264182
commit
b11d41aefb
@ -46,8 +46,6 @@ public class XmlPullStreamDecoder implements ResStreamDecoder {
|
|||||||
ser.event(par);
|
ser.event(par);
|
||||||
}
|
}
|
||||||
ser.flush();
|
ser.flush();
|
||||||
in.close();
|
|
||||||
out.close();
|
|
||||||
} catch (XmlPullParserException ex) {
|
} catch (XmlPullParserException ex) {
|
||||||
throw new AndrolibException("Could not decode XML", ex);
|
throw new AndrolibException("Could not decode XML", ex);
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
|
Loading…
Reference in New Issue
Block a user