Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Mono.Android] Fix methods using Android.Telephony.Data.* enums (#6535)
Fixes: #6527 Several methods in [`android.telephony.data.ApnSetting`][0] and [`android.telephony.data.ApnSetting.Builder`][1] have been mapped to enums that do not exist, such as `Android.Telephony.ApnType`. These enums are actually in the `Android.Telephony.Data` namespace and thus should be e.g. `Android.Telephony.Data.ApnType`. Fixing these enum mappings allows the methods to be bound instead of being invalidated for trying to reference non-existent types. Once the enum mapping is corrected, the previously unbound methods such as [`ApnSetting.Builder.setApnTypeBitmask()`][2] are bound: ![ILDasm output showing `ApnSetting.Builder.SetApnTypeBitmask()`][3] [0]: https://developer.android.com/reference/android/telephony/data/ApnSetting [1]: https://developer.android.com/reference/android/telephony/data/ApnSetting.Builder [2]: https://developer.android.com/reference/android/telephony/data/ApnSetting.Builder#setApnTypeBitmask(int) [3]: https://user-images.githubusercontent.com/179295/144113897-1de3a5a4-315f-47dc-b1a0-a2d3cd5a0bfd.png "ILDasm output showing `ApnSetting.Builder.SetApnTypeBitmask()`"
- Loading branch information