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

Commit aaf8af54 authored by Andrew Sapperstein's avatar Andrew Sapperstein
Browse files

Add metrics categories for delete sims dialogs.

Fixes: 131519375
Test: is metrics
Change-Id: I020e3d887fb0408617428d00386bb57318b6b175
parent 563b56af
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
    }
}
+2 −2
Original line number Diff line number Diff line
@@ -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;
    }
}