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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user