Add metric id for anomaly fragments.

1. PowerUsageAnomalyDetails
2. AnomalyDialogFragment

Bug: 37681923
Test: Build

Change-Id: Ia82fde0fa3e61b6284dc18db3018dd223a0e435b
This commit is contained in:
jackqdyulei
2017-10-23 18:21:33 -07:00
parent 471bc86ae6
commit 725562c748
2 changed files with 3 additions and 4 deletions

View File

@@ -125,8 +125,7 @@ public class PowerUsageAnomalyDetails extends DashboardFragment implements
@Override
public int getMetricsCategory() {
//TODO(b/37681923): add correct metrics category
return 0;
return MetricsProto.MetricsEvent.FUELGAUGE_ANOMALY_DETAIL;
}
void refreshUi() {