Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit ff747da

Browse files
committed
Metadata fixups
1 parent 3b2841b commit ff747da

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

support-compat/source/Additions/Additions.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ public partial class Action
5252
return _GetRemoteInputs ();
5353
}
5454

55-
//public override global::Android.Support.V4.App.RemoteInputCompatBase.RemoteInput[] GetDataOnlyRemoteInputs()
56-
//{
57-
// return _GetDataOnlyRemoteInputs();
58-
//}
55+
public override global::Android.Support.V4.App.RemoteInputCompatBase.RemoteInput[] GetDataOnlyRemoteInputs()
56+
{
57+
return _GetDataOnlyRemoteInputs();
58+
}
5959

6060
}
6161
}

support-vector-drawable/source/Additions/Additions.cs

+20-20
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,27 @@
33

44
namespace Android.Support.Graphics.Drawable
55
{
6-
public partial class VectorDrawableCommon
7-
{
8-
/*
9-
* Oddly, java_class_handle, class_ref, and ThresholdClass/ThresholdType were not being emitted
10-
* for this class, and since this class subclasses Drawable, it was trying to use the superclass's members
11-
* which are inaccessible. Adding these in manually *seems* to fix the issue
12-
*/
13-
internal static new IntPtr java_class_handle;
14-
internal static new IntPtr class_ref {
15-
get {
16-
return JNIEnv.FindClass ("android/support/graphics/drawable/VectorDrawableCommon", ref java_class_handle);
17-
}
18-
}
6+
//public partial class VectorDrawableCommon
7+
//{
8+
// /*
9+
// * Oddly, java_class_handle, class_ref, and ThresholdClass/ThresholdType were not being emitted
10+
// * for this class, and since this class subclasses Drawable, it was trying to use the superclass's members
11+
// * which are inaccessible. Adding these in manually *seems* to fix the issue
12+
// */
13+
// internal static new IntPtr java_class_handle;
14+
// internal static new IntPtr class_ref {
15+
// get {
16+
// return JNIEnv.FindClass ("android/support/graphics/drawable/VectorDrawableCommon", ref java_class_handle);
17+
// }
18+
// }
1919

20-
protected override IntPtr ThresholdClass {
21-
get { return class_ref; }
22-
}
20+
// protected override IntPtr ThresholdClass {
21+
// get { return class_ref; }
22+
// }
2323

24-
protected override global::System.Type ThresholdType {
25-
get { return typeof (VectorDrawableCommon); }
26-
}
27-
}
24+
// protected override global::System.Type ThresholdType {
25+
// get { return typeof (VectorDrawableCommon); }
26+
// }
27+
//}
2828
}
2929

0 commit comments

Comments
 (0)