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

Commit 84625f4e authored by Shashwat Razdan's avatar Shashwat Razdan
Browse files

Setting the idle bind timeout to 10 minutes.

Bug: 229865962
Test: Config change

Change-Id: I0014df37ebb26b20ad4fad04de0c9edd0a580bbc
parent a4a4f42b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ public class RemoteCloudSearchService extends

    private static final String TAG = "RemoteCloudSearchService";

    private static final long TIMEOUT_IDLE_BOUND_TIMEOUT_MS = 10 * DateUtils.MINUTE_IN_MILLIS;
    private static final long TIMEOUT_REMOTE_REQUEST_MILLIS = 2 * DateUtils.SECOND_IN_MILLIS;

    private final RemoteCloudSearchServiceCallbacks mCallback;
@@ -57,7 +58,7 @@ public class RemoteCloudSearchService extends

    @Override
    protected long getTimeoutIdleBindMillis() {
        return PERMANENT_BOUND_TIMEOUT_MS;
        return TIMEOUT_IDLE_BOUND_TIMEOUT_MS;
    }

    @Override