Migrate all MetricsProto enums to SettingsEnums
Bug: 122855168 Test: rebuild Change-Id: I962d9a71179f86b7cae9dc5e9a00e0aa1557dc76
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
package com.android.settings;
|
||||
|
||||
import android.app.Dialog;
|
||||
import android.app.settings.SettingsEnums;
|
||||
import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.DialogInterface.OnClickListener;
|
||||
@@ -30,7 +31,6 @@ import androidx.fragment.app.FragmentTransaction;
|
||||
import androidx.preference.ListPreference;
|
||||
import androidx.preference.ListPreferenceDialogFragmentCompat;
|
||||
|
||||
import com.android.internal.logging.nano.MetricsProto;
|
||||
import com.android.settings.core.instrumentation.InstrumentedDialogFragment;
|
||||
|
||||
public class CustomListPreference extends ListPreference {
|
||||
@@ -221,7 +221,7 @@ public class CustomListPreference extends ListPreference {
|
||||
|
||||
@Override
|
||||
public int getMetricsCategory() {
|
||||
return MetricsProto.MetricsEvent.DIALOG_CUSTOM_LIST_CONFIRMATION;
|
||||
return SettingsEnums.DIALOG_CUSTOM_LIST_CONFIRMATION;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user