diff options
author | 2025-03-20 22:33:40 +0000 | |
---|---|---|
committer | 2025-03-21 19:47:39 -0700 | |
commit | 349c08924c8ef94a158a071fbbec37edbc0b9746 (patch) | |
tree | 83b43871d0efe27ad2ab84197d7b8c0171fa5583 | |
parent | 4fc89d8644cea8052c86044fb79c69b1591b110d (diff) |
[Metrics] Use the correct cutoff param
The DELTA_EXCEPTION_CUT is meant for exceptions, and was accidentally
used instead of DELTA_RESPONSES_CUT. The CL was locally ready, but it
was packaged along with another change that didn't have to be made, so
it was overlooked to patch. This completes the missing relevant bit that
was left out when deciding another bit didn't need to be changed.
Bug: 364444783
Test: Build, stats_d already tested shows this fixes longer string.
Change-Id: Id246ace7c4372342cb36d6956edf68a5497eb643
Flag: android.credentials.flags.fix_metric_duplication_emits
-rw-r--r-- | services/credentials/java/com/android/server/credentials/metrics/RequestSessionMetric.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/credentials/java/com/android/server/credentials/metrics/RequestSessionMetric.java b/services/credentials/java/com/android/server/credentials/metrics/RequestSessionMetric.java index dceef810797a..a2b99bd621c8 100644 --- a/services/credentials/java/com/android/server/credentials/metrics/RequestSessionMetric.java +++ b/services/credentials/java/com/android/server/credentials/metrics/RequestSessionMetric.java @@ -252,7 +252,7 @@ public class RequestSessionMetric { * @param createOrCredentialType the string type to collect when an entry is tapped by the user */ public void collectChosenClassType(String createOrCredentialType) { - String truncatedType = generateMetricKey(createOrCredentialType, DELTA_EXCEPTION_CUT); + String truncatedType = generateMetricKey(createOrCredentialType, DELTA_RESPONSES_CUT); try { mChosenProviderFinalPhaseMetric.setChosenClassType(truncatedType); } catch (Exception e) { |