зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1234449 - Cleanup homescreen telemetry r=margaret
This commit is contained in:
Родитель
f3092fa4c6
Коммит
0969383180
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче