add more Java APIs needed for OctoDroid

This commit is contained in:
Julian Winkler
2024-08-05 17:17:53 +02:00
parent 6c2585ab4b
commit 3e7fdac663
21 changed files with 184 additions and 5 deletions

View File

@@ -83,7 +83,11 @@ public class LayoutInflater {
try { // FIXME ugly
return createView(name, "android.view.", attrs);
} catch (java.lang.ClassNotFoundException e) {
return createView(name, "android.widget.", attrs);
try {
return createView(name, "android.widget.", attrs);
} catch (java.lang.ClassNotFoundException e1) {
return createView(name, "android.webkit.", attrs);
}
}
}