Add clicked event for metric log writer
Bug: 243820251 Test: manual Change-Id: Idec310df85e730eebddb1543893af0dd9651a1ba
This commit is contained in:
@@ -80,6 +80,10 @@ public class SettingsIntelligenceLogWriter implements LogWriter {
|
|||||||
visibleTime /* changedPreferenceIntValue */);
|
visibleTime /* changedPreferenceIntValue */);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void clicked(int sourceCategory, String key) {
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void action(Context context, int action, Pair<Integer, Object>... taggedData) {
|
public void action(Context context, int action, Pair<Integer, Object>... taggedData) {
|
||||||
action(SettingsEnums.PAGE_UNKNOWN /* attribution */,
|
action(SettingsEnums.PAGE_UNKNOWN /* attribution */,
|
||||||
|
|||||||
@@ -44,6 +44,16 @@ public class StatsLogWriter implements LogWriter {
|
|||||||
visibleTime /* changedPreferenceIntValue */);
|
visibleTime /* changedPreferenceIntValue */);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void clicked(int sourceCategory, String key) {
|
||||||
|
SettingsStatsLog.write(SettingsStatsLog.SETTINGS_UI_CHANGED /* Atom name */,
|
||||||
|
sourceCategory /* attribution */,
|
||||||
|
SettingsEnums.ACTION_SETTINGS_TILE_CLICK /* action */,
|
||||||
|
SettingsEnums.PAGE_UNKNOWN /* pageId */,
|
||||||
|
key /* changedPreferenceKey */,
|
||||||
|
0 /* changedPreferenceIntValue */);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void action(Context context, int action, Pair<Integer, Object>... taggedData) {
|
public void action(Context context, int action, Pair<Integer, Object>... taggedData) {
|
||||||
action(SettingsEnums.PAGE_UNKNOWN /* attribution */,
|
action(SettingsEnums.PAGE_UNKNOWN /* attribution */,
|
||||||
|
|||||||
Reference in New Issue
Block a user