From 4b2e80c918ba2841e9de0e2c3850227dc92b30e1 Mon Sep 17 00:00:00 2001 From: Zak Cohen Date: Fri, 8 Mar 2019 13:06:07 -0800 Subject: [PATCH] ContentSuggestionsService - fix deprecation messages. Bug: build fix Test: compile Change-Id: I77e91ee2302310b645747019682781d8e3204bd0 --- .../contentsuggestions/ContentSuggestionsService.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/core/java/android/service/contentsuggestions/ContentSuggestionsService.java b/core/java/android/service/contentsuggestions/ContentSuggestionsService.java index 86f99bb641ec4..45a8466bfca1c 100644 --- a/core/java/android/service/contentsuggestions/ContentSuggestionsService.java +++ b/core/java/android/service/contentsuggestions/ContentSuggestionsService.java @@ -185,7 +185,7 @@ public abstract class ContentSuggestionsService extends Service { /** * For temporary compat reason, remove with b/127532182 - * @deprecated + * @deprecated use {@link #onProcessContextImage(int, Bitmap, Bundle)} instead. */ @Deprecated public void processContextImage( @@ -194,7 +194,8 @@ public abstract class ContentSuggestionsService extends Service { /** * For temporary compat reason, remove with b/127532182 - * @deprecated + * @deprecated use {@link #onSuggestContentSelections(SelectionsRequest, + * ContentSuggestionsManager.SelectionsCallback)} instead. */ @Deprecated public void suggestContentSelections(@NonNull SelectionsRequest request, @@ -203,7 +204,8 @@ public abstract class ContentSuggestionsService extends Service { /** * For temporary compat reason, remove with b/127532182 - * @deprecated + * @deprecated use {@link #onClassifyContentSelections(ClassificationsRequest, + * ContentSuggestionsManager.ClassificationsCallback)} instead. */ @Deprecated public void classifyContentSelections(@NonNull ClassificationsRequest request, @@ -212,7 +214,7 @@ public abstract class ContentSuggestionsService extends Service { /** * For temporary compat reason, remove with b/127532182 - * @deprecated + * @deprecated use {@link #onNotifyInteraction(String, Bundle)} instead. */ @Deprecated public void notifyInteraction(@NonNull String requestId, @NonNull Bundle interaction) {