-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ndk-glue: Replace
deprecated
annotation on native_activity()
with…
… doc-comments It has been quite some time since we introduced this, and our alternative implementation for more safely passing a native activity to the user while interoperating cleanly with `ndk_context` still hasn't found its way. There are legitimate uses for `native_activity()` that cannot be performed through the suggested `ndk_context::android_context().vm()`, making the load of this deprecation warning heavier than the problem it tries to prevent. In order to keep some form of documentation for this issue going, it is now explained in a doc-comment that is also partially replicated on the other `static` getter functions.
- Loading branch information
Showing
2 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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