Commit e6d1b983 authored by Friedrich Horschig's avatar Friedrich Horschig Committed by Commit Bot

[Mfill Android] Enable metrics recording for credit cards fallbacks

This cl removes an unnecessary break condition that prevented collection
for CreditCards.
The metrics recorder already supports recording non-password tabs (like
addresses) but this artifact prevented recording sheet triggering.

Bug: 926372
Change-Id: Ia4a92e06b2c21000ee61aa14a060bb4a521fc360
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1905687Reviewed-by: default avatarIoana Pandele <ioanap@chromium.org>
Commit-Queue: Friedrich [CET] <fhorschig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#713857}
parent e1fef60d
......@@ -62,9 +62,6 @@ public class ManualFillingMetricsRecorder {
*/
public static void recordSheetTrigger(
@AccessoryTabType int tabType, @AccessorySheetTrigger int bucket) {
// TODO(crbug.com/926372): Add metrics capabilities for credit cards.
if (tabType == AccessoryTabType.CREDIT_CARDS) return;
RecordHistogram.recordEnumeratedHistogram(
getHistogramForType(UMA_KEYBOARD_ACCESSORY_SHEET_TRIGGERED, tabType), bucket,
AccessorySheetTrigger.COUNT);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment