Hide deprecated APIs.
Test: CtsAutoFillServiceTestCases pass
Bug: 37563972
Change-Id: Ia5f33c5624b7a6be3c152e126c99800914d23cbd
diff --git a/core/java/android/service/autofill/AutofillService.java b/core/java/android/service/autofill/AutofillService.java
index 813c54f..029acba 100644
--- a/core/java/android/service/autofill/AutofillService.java
+++ b/core/java/android/service/autofill/AutofillService.java
@@ -229,6 +229,8 @@
* this to notify you that the fill result is no longer needed and you should stop
* handling this fill request in order to save resources.
* @param callback object used to notify the result of the request.
+ *
+ * @hide
*/
@Deprecated
public abstract void onFillRequest(@NonNull AssistStructure structure, @Nullable Bundle data,
@@ -267,6 +269,8 @@
* conserve resources.
* See {@link FillResponse} for examples of multiple-sections requests.
* @param callback object used to notify the result of the request.
+ *
+ * @hide
*/
@Deprecated
public abstract void onSaveRequest(@NonNull AssistStructure structure, @Nullable Bundle data,
@@ -280,6 +284,7 @@
public void onDisconnected() {
}
+ /** @hide */
@Deprecated
public final void disableSelf() {
// TODO(b/33197203): Remove when GCore has migrated off this API