Remove call to actionWithSource.

Switch to generic action logging call.

Bug: 117860032
Test: robotests
Change-Id: Ibd7c59ac0ec8a9fa1b368b40f0453a1b42071377
This commit is contained in:
Fan Zhang
2018-11-09 14:52:42 -08:00
parent 454f05160f
commit ff47b303c4
5 changed files with 25 additions and 26 deletions

View File

@@ -45,7 +45,7 @@ public class StatsLogWriter implements LogWriter {
0 /* changedPreferenceIntValue */);
}
@Override
@Override
public void action(Context context, int action, Pair<Integer, Object>... taggedData) {
action(SettingsEnums.PAGE_UNKNOWN /* attribution */,
action,
@@ -54,15 +54,6 @@ public class StatsLogWriter implements LogWriter {
0 /* changedPreferenceIntValue */);
}
@Override
public void actionWithSource(Context context, int pageId, int action) {
action(SettingsEnums.PAGE_UNKNOWN /* attribution */,
action,
pageId /* pageId */,
null /* changedPreferenceKey */,
0 /* changedPreferenceIntValue */);
}
@Override
public void action(Context context, int action, int value) {
action(SettingsEnums.PAGE_UNKNOWN /* attribution */,