Context: #1078 (comment)
API-24 introduced android.telecom.RemoteConference.getConnectionProperties().
In $(TargetFrameworkVersion) v7.0 (API-24), we bound this as as type CallProperty:
https://github.com/xamarin/xamarin-android/blob/2c2d47c4a28eeb398500a8c0a9a0a803324de014/src/Mono.Android/methodmap.csv#L2100
24, android.telecom, RemoteConference, getConnectionProperties, return, Android.Telecom.CallProperty
In $(TargetFrameworkVersion) v7.1 (API-25), we bound this as ConnectionProperties:
https://github.com/xamarin/xamarin-android/blob/2c2d47c4a28eeb398500a8c0a9a0a803324de014/src/Mono.Android/methodmap.csv#L2144
25, android.telecom, RemoteConnection, getConnectionProperties, return, Android.Telecom.ConnectionProperties
Question: Why do we have three separate enumifications for this method? (There's a 2nd API-25 one two lines below the link above.)
Regardless, this mismatch introduces an inter-api-level inconsistency around the type of RemoteConference.ConnectionProperties. The result is that any assemblies which build against v7.0 and run in v7.1+ will throw a MissingMethodException.
We should fix things so that all API levels -- API-24+ -- bind RemoteConference.ConnectionProperties as ConnectionProperties
Context: #1078 (comment)
API-24 introduced
android.telecom.RemoteConference.getConnectionProperties().In
$(TargetFrameworkVersion)v7.0 (API-24), we bound this as as typeCallProperty:https://github.com/xamarin/xamarin-android/blob/2c2d47c4a28eeb398500a8c0a9a0a803324de014/src/Mono.Android/methodmap.csv#L2100
In
$(TargetFrameworkVersion)v7.1 (API-25), we bound this asConnectionProperties:https://github.com/xamarin/xamarin-android/blob/2c2d47c4a28eeb398500a8c0a9a0a803324de014/src/Mono.Android/methodmap.csv#L2144
Question: Why do we have three separate enumifications for this method? (There's a 2nd API-25 one two lines below the link above.)
Regardless, this mismatch introduces an inter-api-level inconsistency around the type of
RemoteConference.ConnectionProperties. The result is that any assemblies which build against v7.0 and run in v7.1+ will throw aMissingMethodException.We should fix things so that all API levels -- API-24+ -- bind
RemoteConference.ConnectionPropertiesasConnectionProperties