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

Change-Id: I8980641516a44803e80c9993e22735995868cfe9
This commit is contained in:
TreeHugger Robot
2020-04-21 10:10:49 +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}.
*/
public void getInlineSuggestionsRendererInfo(@NonNull RemoteCallback callback) {
scheduleAsyncRequest((s) -> s.getInlineSuggestionsRendererInfo(new RemoteCallback(
(bundle) -> callback.sendResult(bundle)
)));
scheduleAsyncRequest((s) -> s.getInlineSuggestionsRendererInfo(callback));
}
@Nullable