Merge "Remove duplicate RemoteCallback." into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-20 02:49:43 +00:00
committed by Android (Google) Code Review

View File

@@ -97,9 +97,7 @@ public final class RemoteInlineSuggestionRenderService extends
* Gets the inline suggestions renderer info as a {@link Bundle}. * Gets the inline suggestions renderer info as a {@link Bundle}.
*/ */
public void getInlineSuggestionsRendererInfo(@NonNull RemoteCallback callback) { public void getInlineSuggestionsRendererInfo(@NonNull RemoteCallback callback) {
scheduleAsyncRequest((s) -> s.getInlineSuggestionsRendererInfo(new RemoteCallback( scheduleAsyncRequest((s) -> s.getInlineSuggestionsRendererInfo(callback));
(bundle) -> callback.sendResult(bundle)
)));
} }
@Nullable @Nullable