Merge "AutofillFieldClassificationService: Mark constructor as @SystemApi"

This commit is contained in:
Narayan Kamath
2019-08-12 12:34:12 +00:00
committed by Android (Google) Code Review
3 changed files with 4 additions and 1 deletions

View File

@@ -6286,6 +6286,7 @@ package android.service.attention {
package android.service.autofill {
public abstract class AutofillFieldClassificationService extends android.app.Service {
ctor public AutofillFieldClassificationService();
method public android.os.IBinder onBind(android.content.Intent);
method @Nullable public float[][] onCalculateScores(@NonNull java.util.List<android.view.autofill.AutofillValue>, @NonNull java.util.List<java.lang.String>, @NonNull java.util.List<java.lang.String>, @Nullable String, @Nullable android.os.Bundle, @Nullable java.util.Map, @Nullable java.util.Map);
method @Deprecated @Nullable public float[][] onGetScores(@Nullable String, @Nullable android.os.Bundle, @NonNull java.util.List<android.view.autofill.AutofillValue>, @NonNull java.util.List<java.lang.String>);

View File

@@ -2465,6 +2465,7 @@ package android.service.appprediction {
package android.service.autofill {
public abstract class AutofillFieldClassificationService extends android.app.Service {
ctor public AutofillFieldClassificationService();
method public android.os.IBinder onBind(android.content.Intent);
field public static final String REQUIRED_ALGORITHM_EDIT_DISTANCE = "EDIT_DISTANCE";
field public static final String REQUIRED_ALGORITHM_EXACT_MATCH = "EXACT_MATCH";

View File

@@ -113,8 +113,9 @@ public abstract class AutofillFieldClassificationService extends Service {
private final Handler mHandler = new Handler(Looper.getMainLooper(), null, true);
/** @hide */
@SystemApi
@TestApi
public AutofillFieldClassificationService() {
}
@Override