replace VectorDrawable with AOSP implementation from Android 6

This way, we can avoid librsvg which causes stack overflows on
Alpine/postmarketOS, because of musl's limited stack size.
This commit is contained in:
Julian Winkler 2025-01-09 18:24:22 +01:00
parent f2a32dae61
commit 7700d8bf11
3 changed files with 2308 additions and 70 deletions

View file

@ -1006,7 +1006,7 @@ public class Resources {
*
* @see android.util.AttributeSet
*/
public XmlResourceParser getXml(int id) throws /*NotFound*/ Exception {
public XmlResourceParser getXml(int id) throws NotFoundException {
return loadXmlResourceParser(id, "xml");
}

View file

@ -1,6 +1,9 @@
package android.graphics;
public class PathMeasure {
public PathMeasure() {}
public PathMeasure(Path path, boolean dummy) {
}

File diff suppressed because it is too large Load diff