Skip to content

Commit ac28172

Browse files
authored
[Java.Interop.Tools.JavaCallableWrappers] Fix tests (#63)
Commit b58416a broke compilation of `tests/Java.Interop-Tests/Java.Interop-Tests.csproj`: Java.Interop.Tools.JavaCallableWrappers/SupportDeclarations.cs(146,3): error CS1729: The type `Android.Content.ContentProviderAttribute' does not contain a constructor that takes `1' arguments The cause of the breakage is that commit b58416a removed the `ContentProviderAttribute(string[])` constructor, as it isn't entirely relevant within Java.Interop. Fix the compilation error by using the `ContentProviderAttribute` default constructor within `SupportDeclarations.cs`.
1 parent b58416a commit ac28172

File tree

1 file changed

+1
-1
lines changed
  • src/Java.Interop.Tools.JavaCallableWrappers/Test/Java.Interop.Tools.JavaCallableWrappers

1 file changed

+1
-1
lines changed

src/Java.Interop.Tools.JavaCallableWrappers/Test/Java.Interop.Tools.JavaCallableWrappers/SupportDeclarations.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class InstrumentationName : Java.Lang.Object
143143
{
144144
}
145145

146-
[ContentProvider (new [] { "ignore.authority" }, Name = "provider.Name")]
146+
[ContentProvider (Name = "provider.Name")]
147147
class ProviderName : Java.Lang.Object
148148
{
149149
}

0 commit comments

Comments
 (0)