Skip to content

Commit

Permalink
Fix brave/brave-ios#8178: Set the NTP-SI P3A total count correctly (b…
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehickinson authored Oct 3, 2023
1 parent a3aea32 commit 5e77e84
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ final class NewTabPageP3AHelper {
let name = DynamicHistogramName(creativeInstanceId: creativeInstanceId, eventType: eventType)
countsStorage.eventCounts[creativeInstanceId]?.inflightCounts[eventType] = count
UmaHistogramRecordValueToBucket(name.histogramName, buckets: countBuckets, value: count)
}
if !eventCounts.counts.isEmpty {
totalActiveCreatives += 1
}
}
Expand Down

0 comments on commit 5e77e84

Please sign in to comment.