mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-04-28 12:17:57 +03:00
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:
parent
f2a32dae61
commit
7700d8bf11
3 changed files with 2308 additions and 70 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue