MetricId: Avoid byte[] and string ambiguity

Passing null to the function will result in conflict with Bluetooth proto
(int int int byte[] int)
Bug: 122571213
Test: Build

Change-Id: Iad90e67a2cdde86aabb95585975be56fc33361fe
This commit is contained in:
Chen Chen
2020-03-10 10:51:52 -07:00
parent f4e97c4e28
commit 847b534fdf

View File

@@ -31,7 +31,7 @@ public class StatsLogWriter implements LogWriter {
attribution,
SettingsEnums.PAGE_VISIBLE /* action */,
pageId,
null /* changedPreferenceKey */,
"" /* changedPreferenceKey */,
0 /* changedPreferenceIntValue */);
}
@@ -41,7 +41,7 @@ public class StatsLogWriter implements LogWriter {
SettingsEnums.PAGE_UNKNOWN /* attribution */,
SettingsEnums.PAGE_HIDE /* action */,
pageId,
null /* changedPreferenceKey */,
"" /* changedPreferenceKey */,
0 /* changedPreferenceIntValue */);
}