Merge "Hide TextClassifier.EntityType from the public API." into oc-dev

This commit is contained in:
TreeHugger Robot
2017-03-30 19:15:12 +00:00
committed by Android (Google) Code Review
4 changed files with 2 additions and 10 deletions

View File

@@ -48147,9 +48147,6 @@ package android.view.textclassifier {
field public static final java.lang.String TYPE_URL = "url";
}
public static abstract class TextClassifier.EntityType implements java.lang.annotation.Annotation {
}
public final class TextLanguage {
method public float getConfidenceScore(java.util.Locale);
method public int getEndIndex();

View File

@@ -51606,9 +51606,6 @@ package android.view.textclassifier {
field public static final java.lang.String TYPE_URL = "url";
}
public static abstract class TextClassifier.EntityType implements java.lang.annotation.Annotation {
}
public final class TextLanguage {
method public float getConfidenceScore(java.util.Locale);
method public int getEndIndex();

View File

@@ -48530,9 +48530,6 @@ package android.view.textclassifier {
field public static final java.lang.String TYPE_URL = "url";
}
public static abstract class TextClassifier.EntityType implements java.lang.annotation.Annotation {
}
public final class TextLanguage {
method public float getConfidenceScore(java.util.Locale);
method public int getEndIndex();

View File

@@ -39,9 +39,10 @@ public interface TextClassifier {
String TYPE_ADDRESS = "address";
String TYPE_URL = "url";
/** @hide */
@Retention(RetentionPolicy.SOURCE)
@StringDef({
TYPE_OTHER, TYPE_EMAIL, TYPE_PHONE, TYPE_ADDRESS
TYPE_OTHER, TYPE_EMAIL, TYPE_PHONE, TYPE_ADDRESS, TYPE_URL
})
@interface EntityType {}