Add metrics categories for delete sims dialogs.

Fixes: 131519375
Test: is metrics
Change-Id: I020e3d887fb0408617428d00386bb57318b6b175
This commit is contained in:
Andrew Sapperstein
2019-05-02 14:03:24 -07:00
parent 563b56af75
commit aaf8af5430
2 changed files with 4 additions and 4 deletions

View File

@@ -17,6 +17,7 @@
package com.android.settings.network.telephony;
import android.app.Dialog;
import android.app.settings.SettingsEnums;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
@@ -77,7 +78,6 @@ public class DeleteSimProfileConfirmationDialog extends InstrumentedDialogFragme
@Override
public int getMetricsCategory() {
// TODO(b/131519375) - use a real id here once it's been created in the metrics proto
return 0;
return SettingsEnums.DIALOG_DELETE_SIM_CONFIRMATION;
}
}

View File

@@ -20,6 +20,7 @@ import android.app.Activity;
import android.app.Dialog;
import android.app.PendingIntent;
import android.app.ProgressDialog;
import android.app.settings.SettingsEnums;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
@@ -114,7 +115,6 @@ public class DeleteSimProfileProgressDialog extends InstrumentedDialogFragment {
@Override
public int getMetricsCategory() {
// TODO(b/131519375) - use a real id here once it's been created in the metrics proto
return 0;
return SettingsEnums.DIALOG_DELETE_SIM_PROGRESS;
}
}