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

Commit 29f13c1e 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: 9abf3ade

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



Change-Id: I6ebbf53d4192dc34d28066e95072269fd184b0aa
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents f0f4c364 9abf3ade
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