Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77a6d81d authored by Adam He's avatar Adam He
Browse files

Remove duplicate RemoteCallback.

Leftover artifact from previous attempt to cache the renderer info.

Bug: 146454892
Test: atest android.autofillservice.cts.inline
Change-Id: I95187bec373cbba1c137b348679b84822532315c
parent 0fcd767d
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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