Merge "Reduce timeout to 3 seconds for provider response" into udc-dev am: 9d69f5af55

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

Change-Id: I688a351ac8f692b57b45fac90d8741273385afd7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Reema Bajwa
2023-05-05 19:14:00 +00:00
committed by Automerger Merge Worker

View File

@@ -59,7 +59,7 @@ public class RemoteCredentialService extends ServiceConnector.Impl<ICredentialPr
private static final String TAG = "RemoteCredentialService";
/** Timeout for a single request. */
private static final long TIMEOUT_REQUEST_MILLIS = 5 * DateUtils.SECOND_IN_MILLIS;
private static final long TIMEOUT_REQUEST_MILLIS = 3 * DateUtils.SECOND_IN_MILLIS;
/** Timeout to unbind after the task queue is empty. */
private static final long TIMEOUT_IDLE_SERVICE_CONNECTION_MILLIS =
5 * DateUtils.SECOND_IN_MILLIS;