mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-12-12 05:37:45 +01:00
Fix NodeParcelable, meta-annotate @PublicApi
This commit is contained in:
parent
61d5ccde6c
commit
3c19d84eaa
@ -76,4 +76,6 @@ public class NodeParcelable extends AutoSafeParcelable implements Node {
|
||||
public String toString() {
|
||||
return "NodeParcelable{" + id + "," + displayName + "}";
|
||||
}
|
||||
|
||||
public static final Creator<NodeParcelable> CREATOR = new AutoCreator<>(NodeParcelable.class);
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user