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

Commit f0d74094 authored by Adam He's avatar Adam He
Browse files

Fixed autofill workflow to call onConnected before handling pending requests.

Fixes: 124391206
Test: atest CtsAutoFillServiceTestCases
Test: manual verification with DebugService
Change-Id: Ia8519fd934d3cdc3b55ed0baa326ec9f270b334b
parent 49df0095
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -148,10 +148,10 @@ public abstract class AbstractRemoteService<S extends AbstractRemoteService<S, I
    }

    private void handleOnConnectedStateChangedInternal(boolean connected) {
        handleOnConnectedStateChanged(connected);
        if (connected) {
            handlePendingRequests();
        }
        handleOnConnectedStateChanged(connected);
    }

    /**