ARSCLib icon indicating copy to clipboard operation
ARSCLib copied to clipboard

ResXmlPullParser returns 0 for non existing arguments instead of defaultValue

Open julianwi opened this issue 2 years ago • 0 comments

For example attrs.getAttributeIntValue("http://schemas.android.com/apk/res/android", "orientation", 1) should normally return 1 if the attribute is not set. Currently it always returns 0 no matter what default value is given.

Other methods with defaultValue options are affected as well.

julianwi avatar Aug 27 '23 14:08 julianwi