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

Commit d730c4cf authored by Shashwat Razdan's avatar Shashwat Razdan Committed by Android (Google) Code Review
Browse files

Merge "Setting the idle bind timeout to 10 minutes. Bug: 229865962 Test: Config change" into tm-dev

parents 1a292f9d 84625f4e
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