Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mono.Android] treat AllocObjectSupported as always true #9146

Merged
merged 2 commits into from
Sep 13, 2024

Commits on Sep 11, 2024

  1. [Mono.Android] treat AllocObjectSupported as always true

    This removes an API < 10 code path, which should speed up all
    `JNIEnv.StartCreateInstance` / `FinishCreateInstance` calls by a very
    small amount. They no longer check a `AllocObjectSupported` field,
    which is now always `true`.
    
    This also removes the need to pass in `androidSdkVersion` /
    `android_api_level` from the native side at startup.
    
    We can also remove the `_monodroid_get_android_api_level()` p/invoke,
    which is unused.
    jonathanpeppers committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    6e32c64 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. Configuration menu
    Copy the full SHA
    fee9aa7 View commit details
    Browse the repository at this point in the history