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

Commit 798cc9d0 authored by Todd Kennedy's avatar Todd Kennedy
Browse files

Adjust the bind timeout

We were using a timeout of 5s when it should have always
been in the hundreds of ms. Setting the timeout to 300ms
for 'eng' build and 200ms for all other builds.

Change-Id: I31e17457e7bfdb3bf703be430074b718cae8c17a
Fixes: 37474581
Test: Manual; still resolve instant apps
parent 3a8d8db6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -231,7 +231,7 @@ final class EphemeralResolverConnection implements DeathRecipient {
        private final IRemoteCallback mCallback;

        public GetEphemeralResolveInfoCaller() {
            super(TimedRemoteCaller.DEFAULT_CALL_TIMEOUT_MILLIS);
            super(BIND_SERVICE_TIMEOUT_MS);
            mCallback = new IRemoteCallback.Stub() {
                    @Override
                    public void sendResult(Bundle data) throws RemoteException {