Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[One .NET] Do not always preserve Android.Runtime.CharSequence (#5363)
Context: #5167 The `Android.Runtime.CharSequence` type is not accessed via reflection. Allowing `CharSequence` to be linked allows unreferenced members to be removed by the linker (yay!), e.g. when comparing the `.apk` built from the `BuildReleaseArm64False` test: $ apkdiff before.apk after.apk … Type Android.Runtime.CharSequence - Method public static SIGERR ToLocalJniHandle (System.Collections.Generic.IEnumerable`1<char>) … The `Android.Runtime.CharSequence.ToLocalJniHandle()` is removed.
- Loading branch information