Fix telegram build
This commit is contained in:
parent
4eff967cac
commit
74c93b7bdf
2 changed files with 4 additions and 4 deletions
|
@ -146,6 +146,4 @@ dependencies {
|
||||||
implementation("com.github.HITGIF:TextFieldBoxes:1.4.4") {
|
implementation("com.github.HITGIF:TextFieldBoxes:1.4.4") {
|
||||||
exclude group: 'com.android.support'
|
exclude group: 'com.android.support'
|
||||||
}
|
}
|
||||||
|
|
||||||
implementation 'net.sf.kxml:kxml2:2.1.8'
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
package net.osmand;
|
package net.osmand;
|
||||||
|
|
||||||
|
import android.util.Xml;
|
||||||
|
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
import org.xmlpull.v1.XmlPullParser;
|
import org.xmlpull.v1.XmlPullParser;
|
||||||
import org.xmlpull.v1.XmlPullParserException;
|
import org.xmlpull.v1.XmlPullParserException;
|
||||||
|
@ -147,10 +149,10 @@ public class PlatformUtil {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static XmlPullParser newXMLPullParser() throws XmlPullParserException {
|
public static XmlPullParser newXMLPullParser() throws XmlPullParserException {
|
||||||
return new org.kxml2.io.KXmlParser();
|
return Xml.newPullParser();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static XmlSerializer newSerializer() {
|
public static XmlSerializer newSerializer() {
|
||||||
return new org.kxml2.io.KXmlSerializer();
|
return Xml.newSerializer();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue