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
As part of discussion at #1078 (comment) ,
we decided to make changes to those inconsistent methods that used to be
virtual and then became abstract, to become abstract even in old API level.
It is done at metadata fixup level.
Copy file name to clipboardExpand all lines: src/Mono.Android/metadata
+12
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,16 @@
1
1
<metadata>
2
+
3
+
<!-- FIXME: these members used to be `virtual` and then became `abstract`.
4
+
They result in API breakage (reported as inter-api-level mismatch).
5
+
This is ancient Google's fault. To deal with the situation nicely,
6
+
we are marking them just as `abstract` even at the old API Level, so
7
+
that app developers don't get trapped due to missing members at run time.
8
+
-->
9
+
<attr path="/api/package[@name='android.webkit']/class[@name='CookieManager' or @name='WebBackForwardList' or @name='WebHistoryItem' or @name='WebIconDatabase' or @name='WebViewDatabase']/method[@static='false']" name="abstract">true</attr>
10
+
<attr path="/api/package[@name='android.webkit']/class[@name='WebSettings']/method[@static='false' and @name!='setTextSize']" name="abstract">true</attr>
11
+
<attr path="/api/package[@name='android.webkit']/class[@name='CookieManager' or @name='WebBackForwardList' or @name='WebHistoryItem' or @name='WebIconDatabase' or @name='WebViewDatabase']" name="abstract">true</attr>
0 commit comments