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

Commit 793f5d0a authored by joonhunshin's avatar joonhunshin
Browse files

changed return value METRICS_CATEGORY_UNKNOWN to SETTINGS_CONTACT_DISCOVERY

return SETTINGS_CONTACT_DISCOVERY for getMetricsCategory() instead of METRICS_CATEGORY_UNKNOWN

Bug: 246514073
Test: atest ContactDiscoveryDialogFragmentTest
Change-Id: I2b1512543254641f598727ae9af2a5e989bb3df7
parent 535667b5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package com.android.settings.network.telephony;

import android.app.AlertDialog;
import android.app.Dialog;
import android.app.settings.SettingsEnums;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
@@ -104,7 +105,7 @@ public class ContactDiscoveryDialogFragment extends InstrumentedDialogFragment

    @Override
    public int getMetricsCategory() {
        return METRICS_CATEGORY_UNKNOWN;
        return SettingsEnums.SETTINGS_CONTACT_DISCOVERY;
    }

    @VisibleForTesting