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

Commit 20c570fc authored by Shashwat Razdan's avatar Shashwat Razdan Committed by Automerger Merge Worker
Browse files

Merge "Setting the idle bind timeout to 10 minutes. Bug: 229865962 Test:...

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17868223



Change-Id: Id501ad5b0d9a5a8dcf3d45cc9d90340ab786ba02
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 2713fcf8 7ae7975e
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