diff --git a/api/system-current.txt b/api/system-current.txt index 18e30bac8dfcc..76d017c448228 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -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, @NonNull java.util.List, @NonNull java.util.List, @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, @NonNull java.util.List); diff --git a/api/test-current.txt b/api/test-current.txt index 6fe79c4e08532..e961511165cbe 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -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"; diff --git a/core/java/android/service/autofill/AutofillFieldClassificationService.java b/core/java/android/service/autofill/AutofillFieldClassificationService.java index 5f64755f73379..320dcec675cc7 100644 --- a/core/java/android/service/autofill/AutofillFieldClassificationService.java +++ b/core/java/android/service/autofill/AutofillFieldClassificationService.java @@ -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