Refine TypedXmlPullParser API interface.
Techincally our additions should match the shape of the upstream XmlPullParser interface, which throws XmlPullParserException when there is a parsing issue; IOException should be reserved for actual disk I/O issues. Improve BinaryXmlPullParser handling of invalid inputs to match how ForcedTypedXmlPullParser throws on any parsing trouble. Bug: 171832118 Test: atest FrameworksCoreTests:android.util.XmlTest Test: atest FrameworksCoreTests:android.util.BinaryXmlTest Change-Id: I8f0e95d536b53570055a9e174f0849cf635da48c
Loading
Please register or sign in to comment