Add Metrics for Tap & Pay Default app settings

Test: atest NfcForegroundPreferenceControllerTest
Bug: 111458041
Change-Id: I1ef1fd9fe1e025283053757c180571e29df3ad09
This commit is contained in:
Ruchi Kandoi
2019-01-09 13:23:04 -08:00
parent 4f30490dbe
commit 6513d9d646
2 changed files with 13 additions and 0 deletions

View File

@@ -29,6 +29,12 @@ enum Action {
// ACTION: Settings > Any preference is changed
ACTION_SETTINGS_PREFERENCE_CHANGE = 853;
// ACTION: Tap & Pay -> Default Application Setting -> Use Forground
ACTION_NFC_PAYMENT_FOREGROUND_SETTING = 1622;
// ACTION: Tap & Pay -> Default Application Setting -> Use Default
ACTION_NFC_PAYMENT_ALWAYS_SETTING = 1623;
}
/**

View File

@@ -6794,6 +6794,13 @@ message MetricsEvent {
// OS: Q
NOTIFICATION_BLOCKING_HELPER = 1621;
// ACTION: Tap & Pay -> Default Application Setting -> Use Forground
// OS: Q
ACTION_NFC_PAYMENT_FOREGROUND_SETTING = 1622;
// ACTION: Tap & Pay -> Default Application Setting -> Use Default
// OS: Q
ACTION_NFC_PAYMENT_ALWAYS_SETTING = 1623;
// ---- End Q Constants, all Q constants go above this line ----
// Add new aosp constants above this line.