Repository navigation
[Mono.Android] API-30 stabilization (#4830) - #4843
Merged
Merged
Conversation
Context: https://developer.android.com/android11 Changes: https://github.com/xamarin/monodroid/compare/4a0be740c371b0139aa6fa9d70ecfa2197e9bbb4...25c3dd1684d5fa08db9d1e3997add4da163517b0 * xamarin/monodroid@25c3dd16: [Make.config] Update API-R to API-30 (dotnet#1102) API-30 has been enumified (2aa4dd2). Time to declare it stable! Set API-R as API-30, v11.0, and stable. Update unit test files so `$(TargetFrameworkVersion)`= v11.0 (API-30). Rename `src/Mono.Android/Profiles/api-R.params.txt` to `api-30.params.txt`, to match the stable API-level ID. Updated `tests/api-compatibility/acceptable-breakages-vReference.txt` because the default API compare will now be against `API-30`, not `API-29`, and we deliberately removed the `XxxConst` classes which were `[Obsolete]`d 5+ years ago in API-30, resulting in an intentional API break. TODO: * `jnimarshalmethod-gen.exe` tests were disabled as they ran into a [runtime crash][0]. Once the runtime crash is fixed, we need to update `src/Mono.Android/Test/Mono.Android-Tests.csproj` so that `$(AndroidGenerateJniMarshalMethods)` is True when `'$(HostOS)' == 'Darwin'`. [0]: dotnet/runtime#34389
jonpryor
requested review from
dellis1972,
grendello and
jonathanpeppers
as code owners
June 20, 2020 00:08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context: https://developer.android.com/android11
Changes: https://github.com/xamarin/monodroid/compare/4a0be740c371b0139aa6fa9d70ecfa2197e9bbb4...25c3dd1684d5fa08db9d1e3997add4da163517b0
API-30 has been enumified (2aa4dd2). Time to declare it stable!
Set API-R as API-30, v11.0, and stable.
Update unit test files so
$(TargetFrameworkVersion)= v11.0 (API-30).Rename
src/Mono.Android/Profiles/api-R.params.txttoapi-30.params.txt, to match the stable API-level ID.Updated
tests/api-compatibility/acceptable-breakages-vReference.txtbecause the default API compare will now be against
API-30, notAPI-29, and we deliberately removed theXxxConstclasses whichwere
[Obsolete]d 5+ years ago in API-30, resulting in an intentionalAPI break.
TODO:
jnimarshalmethod-gen.exetests were disabled as they ran into aruntime crash. Once the runtime crash is fixed, we need to
update
src/Mono.Android/Test/Mono.Android-Tests.csprojso that$(AndroidGenerateJniMarshalMethods)is True when'$(HostOS)' == 'Darwin'.