Add metric id for anomaly fragments.
1. PowerUsageAnomalyDetails 2. AnomalyDialogFragment Bug: 37681923 Test: Build Change-Id: Ia82fde0fa3e61b6284dc18db3018dd223a0e435b
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user