Fix rawTypes errors in Android embedding classes (flutter/engine#9326)
This commit is contained in:
@@ -286,7 +286,7 @@ public class StandardMessageCodec implements MessageCodec<Object> {
|
||||
stream.write(MAP);
|
||||
final Map<?, ?> map = (Map) value;
|
||||
writeSize(stream, map.size());
|
||||
for (final Entry entry: map.entrySet()) {
|
||||
for (final Entry<?, ?> entry: map.entrySet()) {
|
||||
writeValue(stream, entry.getKey());
|
||||
writeValue(stream, entry.getValue());
|
||||
}
|
||||
|
||||
@@ -286,7 +286,7 @@ class SingleViewPresentation extends Presentation {
|
||||
public WindowManager getWindowManager() {
|
||||
return (WindowManager) Proxy.newProxyInstance(
|
||||
WindowManager.class.getClassLoader(),
|
||||
new Class[] { WindowManager.class },
|
||||
new Class<?>[] { WindowManager.class },
|
||||
this
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user