You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix NoSuchMethodError of readMapXml on Android 17 Beta 3 (#626)
Starting with Android 17 Beta 3 (detected in framework.jar, though not yet published to AOSP), the internal API for XmlUtils has changed its method signature. Specifically, the return type of readMapXml was modified from HashMap to the more generic Map interface.
Old signature:
```
Lcom/android/internal/util/XmlUtils;->readMapXml(Ljava/io/InputStream;)Ljava/util/HashMap;
```
New signature:
```
Lcom/android/internal/util/XmlUtils;->readMapXml(Ljava/io/InputStream;)Ljava/util/Map;
```
We migrate the call to use reflection.
0 commit comments