mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1267837 - Update grid item telemetry to indicate whether an item is pinned. r=mfinkle a=ritu
MozReview-Commit-ID: 9Et4AhCzAr9
This commit is contained in:
parent
b7c71e4f10
commit
fdf500eede
@ -215,7 +215,13 @@ public class TopSitesPanel extends HomeFragment {
|
||||
} else {
|
||||
method = TelemetryContract.Method.GRID_ITEM;
|
||||
}
|
||||
Telemetry.sendUIEvent(TelemetryContract.Event.LOAD_URL, method, Integer.toString(position));
|
||||
|
||||
String extra = Integer.toString(position);
|
||||
if (type == TopSites.TYPE_PINNED) {
|
||||
extra += "-pinned";
|
||||
}
|
||||
|
||||
Telemetry.sendUIEvent(TelemetryContract.Event.LOAD_URL, method, extra);
|
||||
|
||||
mUrlOpenListener.onUrlOpen(url, EnumSet.noneOf(OnUrlOpenListener.Flags.class));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user