Loading services/voiceinteraction/java/com/android/server/voiceinteraction/HotwordDetectionConnection.java +22 −23 Original line number Diff line number Diff line Loading @@ -315,9 +315,8 @@ final class HotwordDetectionConnection { // TODO: (b/181842909) Report an error to voice interactor Slog.w(TAG, "Failed to updateState for HotwordDetectionService", e); } return future; }).orTimeout(MAX_UPDATE_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS) .whenComplete((res, err) -> { return future.orTimeout(MAX_UPDATE_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); }).whenComplete((res, err) -> { if (err instanceof TimeoutException) { Slog.w(TAG, "updateState timed out"); if (mUpdateStateAfterStartFinished.getAndSet(true)) { Loading Loading
services/voiceinteraction/java/com/android/server/voiceinteraction/HotwordDetectionConnection.java +22 −23 Original line number Diff line number Diff line Loading @@ -315,9 +315,8 @@ final class HotwordDetectionConnection { // TODO: (b/181842909) Report an error to voice interactor Slog.w(TAG, "Failed to updateState for HotwordDetectionService", e); } return future; }).orTimeout(MAX_UPDATE_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS) .whenComplete((res, err) -> { return future.orTimeout(MAX_UPDATE_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); }).whenComplete((res, err) -> { if (err instanceof TimeoutException) { Slog.w(TAG, "updateState timed out"); if (mUpdateStateAfterStartFinished.getAndSet(true)) { Loading