Merge "Remove duplicate RemoteCallback." into rvc-dev am: 25d370cc15

Change-Id: I285964a43e3bc96e5dbe883e8391f2f898cd7e5d
This commit is contained in:
TreeHugger Robot
2020-04-20 03:03:15 +00:00
committed by Automerger Merge Worker

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