forked from dotnet/android-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update GooglePlayServices binding sample to gms 4.1.32.aar.
So, Cast SDK is not yet published on google site yet, but we're getting ready.
- Loading branch information
1 parent
ed62f89
commit 2c03210
Showing
4 changed files
with
91 additions
and
4 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
GooglePlayServices/GooglePlayServices/Additions/BugWorkarounds.cs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using Android.Runtime; | ||
|
||
namespace Android.Gms.Drives { | ||
public abstract partial class Metadata | ||
{ | ||
// FIXME: For some reason, IFreezable<T> methods are not generated as abstract in Metadata. | ||
// Once this bug got fixed, this should go away (otherwise it will fail to build). | ||
public abstract Java.Lang.Object Freeze (); | ||
} | ||
internal partial class MetadataInvoker : Metadata | ||
{ | ||
IntPtr id_freeze; | ||
// FIXME: For some reason, IFreezable<T> methods are not generated as abstract in Metadata. | ||
// Once this bug got fixed, this should go away (otherwise it will fail to build). | ||
public override Java.Lang.Object Freeze () | ||
{ | ||
if (id_freeze == IntPtr.Zero) | ||
id_freeze = JNIEnv.GetMethodID (class_ref, "freeze", "()Ljava/lang/Object;"); | ||
return (Java.Lang.Object) global::Java.Lang.Object.GetObject<global::Java.Lang.Object> (JNIEnv.CallObjectMethod (Handle, id_freeze), JniHandleOwnership.TransferLocalRef); | ||
} | ||
} | ||
} |
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
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