Hide TextClassifier.EntityType from the public API.
Test: current.txt and friends updated correctly. Bug: 35959173 Change-Id: I74011020a4e509bad98b94738d2e929fc068d9ae
This commit is contained in:
@@ -48145,9 +48145,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();
|
||||
|
||||
@@ -51603,9 +51603,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();
|
||||
|
||||
@@ -48528,9 +48528,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();
|
||||
|
||||
@@ -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 {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user