Bug 1234449 - Cleanup homescreen telemetry r=margaret

This commit is contained in:
Mark Finkle 2015-12-22 09:32:04 -05:00
Родитель f3092fa4c6
Коммит 0969383180
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -358,7 +358,7 @@ public class HistoryPanel extends HomeFragment {
final ClickableSpan clickableSpan = new ClickableSpan() {
@Override
public void onClick(View widget) {
Telemetry.sendUIEvent(TelemetryContract.Event.ACTION, TelemetryContract.Method.HOMESCREEN, "hint-private-browsing");
Telemetry.sendUIEvent(TelemetryContract.Event.ACTION, TelemetryContract.Method.PANEL, "hint-private-browsing");
try {
final JSONObject json = new JSONObject();
json.put("type", "Menu:Open");

Просмотреть файл

@ -110,7 +110,7 @@ public class PreSearchFragment extends Fragment {
final Rect startBounds = new Rect();
view.getGlobalVisibleRect(startBounds);
Telemetry.sendUIEvent(TelemetryContract.Event.SEARCH, TelemetryContract.Method.HOMESCREEN, "history");
Telemetry.sendUIEvent(TelemetryContract.Event.SEARCH, TelemetryContract.Method.SUGGESTION, "history");
searchListener.onSearch(query, new SuggestionAnimation() {
@Override