diff --git a/src/com/google/android/gms/wearable/internal/NodeParcelable.java b/src/com/google/android/gms/wearable/internal/NodeParcelable.java index 9c96a109..d673c1bb 100644 --- a/src/com/google/android/gms/wearable/internal/NodeParcelable.java +++ b/src/com/google/android/gms/wearable/internal/NodeParcelable.java @@ -76,4 +76,6 @@ public class NodeParcelable extends AutoSafeParcelable implements Node { public String toString() { return "NodeParcelable{" + id + "," + displayName + "}"; } + + public static final Creator CREATOR = new AutoCreator<>(NodeParcelable.class); } diff --git a/src/org/microg/gms/PublicApi.java b/src/org/microg/gms/PublicApi.java index 1766f220..488f6c3a 100644 --- a/src/org/microg/gms/PublicApi.java +++ b/src/org/microg/gms/PublicApi.java @@ -16,10 +16,17 @@ package org.microg.gms; +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + /** * An class, method or field is named public, if it can be used with the original play services * client library. */ +@Retention(RetentionPolicy.SOURCE) +@Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD, ElementType.CONSTRUCTOR}) public @interface PublicApi { /** * @return the first version that contains the given class, method or field