Merge "Add metrics categories for delete sims dialogs." into qt-dev am: 920723019e

am: c99572e2f2

Change-Id: Iaa7ce928ae1f27aaf2055c36906e09c9873efd55
This commit is contained in:
Andrew Sapperstein
2019-05-03 19:21:23 -07:00
committed by android-build-merger
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;
}
}