-
Notifications
You must be signed in to change notification settings - Fork 52
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
JCW Implementor types "pollute" original package #1132
Comments
Note that this seems to be a side effect of: These implementor classes moved from (ex): We are reverting this in: It may be desirable to hide them even further into something like |
Related: we currently have code to create a ProGuard config file based on However, the above code doesn't appear to be invoked in dotnet/android#8337. If it were invoked, then we'd have a For .NET 8, we'll partially revert #1105 so that
For .NET 9, we should re-introduce #1105 and address #1132 (this issue) and ensure that xamarin-android emits a ProGuard file which preserves e.g. |
Now, why should we care about
Rephrased: "infrastructure" types such as |
@jpobst also determined why JCW's were "polluting" the original package: If the type does not have Which explains why the Java Callable Wrapper for (Though that doesn't quite explain ed63d89 and (See also: https://github.com/xamarin/monodroid/commit/bb245a48c8d8f6578d1aae8ecd6cfa64b29105b4 ) |
Consider a xamarin/xamarin-android build, after which the following file may exist:
This comes from the C# binding:
which results in the Java Callable Wrapper:
…and therein lies the issue: why is
Camera.IOnZoomChangeListenerImplementor
resulting in the Java Callable Wrapper ofandroid.hardware.Camera_IOnZoomChangeListenerImplementor
, and notcrc64….Camera_IOnZoomChangeListenerImplementor
? Why are we "polluting" the original package name?The text was updated successfully, but these errors were encountered: