Fix analytics logic to report on analysis complete transitions.
Bug: https://github.com/dart-lang/sdk/issues/52089 Change-Id: If9fe7d702cd70c3e8804a59e47870d6aad7cf680 Fixes: https://github.com/dart-lang/sdk/issues/52089 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/296023 Commit-Queue: Brian Wilkerson <brianwilkerson@google.com> Auto-Submit: Janice Collins <jcollins@google.com> Commit-Queue: Janice Collins <jcollins@google.com> Commit-Queue: Keerti Parthasarathy <keertip@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Keerti Parthasarathy <keertip@google.com>
This commit is contained in:
committed by
Commit Queue
parent
fffd7e8c6f
commit
7c1e2fee70
@@ -766,6 +766,9 @@ class LspAnalysisServer extends AnalysisServer {
|
||||
// Only send analysis analytics after analysis is complete.
|
||||
reportAnalysisAnalytics();
|
||||
}
|
||||
if (isAnalyzing && !wasAnalyzing) {
|
||||
wasAnalyzing = true;
|
||||
}
|
||||
|
||||
if (clientCapabilities?.workDoneProgress != true) {
|
||||
channel.sendNotification(NotificationMessage(
|
||||
|
||||
Reference in New Issue
Block a user