mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-02 15:04:24 +02:00
ignore errors during Manifest alterations, to prevent crashing of apktool
This commit is contained in:
parent
6df03fc81c
commit
6475ef8a77
@ -182,8 +182,7 @@ final public class AndrolibResources {
|
|||||||
StreamResult result = new StreamResult(new File(filePath));
|
StreamResult result = new StreamResult(new File(filePath));
|
||||||
transformer.transform(source, result);
|
transformer.transform(source, result);
|
||||||
|
|
||||||
} catch (SAXException | ParserConfigurationException | IOException | TransformerException ex) {
|
} catch (SAXException | ParserConfigurationException | IOException | TransformerException ignored) {
|
||||||
throw new AndrolibException(ex);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -226,8 +225,7 @@ final public class AndrolibResources {
|
|||||||
StreamResult result = new StreamResult(new File(filePath));
|
StreamResult result = new StreamResult(new File(filePath));
|
||||||
transformer.transform(source, result);
|
transformer.transform(source, result);
|
||||||
|
|
||||||
} catch (SAXException | ParserConfigurationException | IOException | TransformerException ex) {
|
} catch (SAXException | ParserConfigurationException | IOException | TransformerException ignored) {
|
||||||
throw new AndrolibException(ex);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -268,8 +266,7 @@ final public class AndrolibResources {
|
|||||||
StreamResult result = new StreamResult(new File(filePath));
|
StreamResult result = new StreamResult(new File(filePath));
|
||||||
transformer.transform(source, result);
|
transformer.transform(source, result);
|
||||||
|
|
||||||
} catch (SAXException | ParserConfigurationException | IOException | TransformerException ex) {
|
} catch (SAXException | ParserConfigurationException | IOException | TransformerException ignored) {
|
||||||
throw new AndrolibException(ex);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user