From c80818f9ede47907b8fcee7a3211016cef3a14f2 Mon Sep 17 00:00:00 2001 From: Peter Li Date: Wed, 1 Jun 2022 04:44:37 +0000 Subject: [PATCH] Extend the max count for retrying to request DirectActions to 7. Bug: 224789902 Change-Id: I986f1b5534c8cae69c770fb67cf9ebbbeb7c75dd Test: atest CtsVoiceInteractionTestCases --- core/java/android/app/ActivityThread.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/app/ActivityThread.java b/core/java/android/app/ActivityThread.java index cf141c62d0e15..1d1743f56ff75 100644 --- a/core/java/android/app/ActivityThread.java +++ b/core/java/android/app/ActivityThread.java @@ -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.