Drop MonoPackageManager for APIs older than 9 #2691
Merged
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: #2690
Fixes: #2690
Xamarin.Android and Mono are no longer capable of running on API levels lower
than 9 (if built with NDK r14) or 16 (if built with NDK r18+). This commit drops
the version of
MonoPackageManager
targetting API levels < 9.If an application with its minimum target sdk set to anything < 9 is build it
results in a compilation error when building Java code:
This is caused by the changes introduced in the runtime performance commit
b90d3ab
which changed the
Runtime.init
signature but only in the version ofMonoPackageManager
targetting the currently supported minimum SDK levels.