Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 701d9a0e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use FIELD_ANOMALY_TYPE instead of FIELD_CONTEXT"

parents ad2d1b91 5f6837ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -157,7 +157,7 @@ public class AnomalyDetectionJobService extends JobService {
                metricsFeatureProvider.action(context,
                        MetricsProto.MetricsEvent.ACTION_ANOMALY_IGNORED,
                        packageName,
                        Pair.create(MetricsProto.MetricsEvent.FIELD_CONTEXT,
                        Pair.create(MetricsProto.MetricsEvent.FIELD_ANOMALY_TYPE,
                                anomalyInfo.anomalyType),
                        Pair.create(MetricsProto.MetricsEvent.FIELD_APP_VERSION_CODE,
                                versionCode));
+1 −1
Original line number Diff line number Diff line
@@ -178,7 +178,7 @@ public class AnomalyDetectionJobServiceTest {
        verify(mFeatureFactory.metricsFeatureProvider).action(mContext,
                MetricsProto.MetricsEvent.ACTION_ANOMALY_IGNORED,
                SYSTEM_PACKAGE,
                Pair.create(MetricsProto.MetricsEvent.FIELD_CONTEXT, ANOMALY_TYPE),
                Pair.create(MetricsProto.MetricsEvent.FIELD_ANOMALY_TYPE, ANOMALY_TYPE),
                Pair.create(MetricsProto.MetricsEvent.FIELD_APP_VERSION_CODE, VERSION_CODE));
    }