Extend the max count for retrying to request DirectActions to 7.

Bug: 224789902
Change-Id: I986f1b5534c8cae69c770fb67cf9ebbbeb7c75dd
Test: atest CtsVoiceInteractionTestCases
This commit is contained in:
Peter Li
2022-06-01 04:44:37 +00:00
parent 0d84708056
commit c80818f9ed

View File

@@ -301,7 +301,7 @@ public final class ActivityThread extends ClientTransactionHandler
/** The delay time for retrying to request DirectActions. */
private static final long REQUEST_DIRECT_ACTIONS_RETRY_TIME_MS = 200;
/** The max count for retrying to request DirectActions. */
private static final int REQUEST_DIRECT_ACTIONS_RETRY_MAX_COUNT = 3;
private static final int REQUEST_DIRECT_ACTIONS_RETRY_MAX_COUNT = 7;
/**
* Denotes an invalid sequence number corresponding to a process state change.