Add metrics stuff for dark ui dialog fragment
This constant was delayed due to some high traffic in the file and deadlines. This CL just adds it. Test: None, is a metrics change Bug: 132695689 Change-Id: I2ccdfa8de93e062558cf6a6b49fa85a69cef7b82
This commit is contained in:
@@ -18,6 +18,7 @@ package com.android.settings.display;
|
|||||||
|
|
||||||
import android.app.Dialog;
|
import android.app.Dialog;
|
||||||
import android.app.UiModeManager;
|
import android.app.UiModeManager;
|
||||||
|
import android.app.settings.SettingsEnums;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.DialogInterface;
|
import android.content.DialogInterface;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
@@ -39,9 +40,7 @@ public class DarkUIInfoDialogFragment extends InstrumentedDialogFragment
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getMetricsCategory() {
|
public int getMetricsCategory() {
|
||||||
// TODO(b/130251804): Add metrics constant in followup change to avoid merge conflict in
|
return SettingsEnums.DIALOG_DARK_UI_INFO;
|
||||||
// beta cherrypick
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
|
Reference in New Issue
Block a user