Merge "Reduce timeout to 3 seconds for provider response" into udc-dev

This commit is contained in:
Reema Bajwa
2023-05-05 18:55:07 +00:00
committed by Android (Google) Code Review

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;