mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1272166 - Update UI telemetry logging. r=margaret a=ritu
MozReview-Commit-ID: Gzb2qdm3TuT
This commit is contained in:
parent
993c30ba25
commit
cf14182869
@ -169,8 +169,11 @@ public class Telemetry {
|
||||
throw new IllegalArgumentException("Expected non-null method - use Method.NONE?");
|
||||
}
|
||||
|
||||
Log.d(LOGTAG, "SendUIEvent: event = " + eventName + " method = " + method +
|
||||
" timestamp = " + timestamp + " extras = " + extras);
|
||||
String logString = "SendUIEvent: event = " + eventName + " method = " + method + " timestamp = " + timestamp;
|
||||
if (!AppConstants.MOZILLA_OFFICIAL) {
|
||||
logString += " extras = " + extras;
|
||||
}
|
||||
Log.d(LOGTAG, logString);
|
||||
final GeckoEvent geckoEvent = GeckoEvent.createTelemetryUIEvent(
|
||||
eventName, method.toString(), timestamp, extras);
|
||||
GeckoAppShell.sendEventToGecko(geckoEvent);
|
||||
|
Loading…
Reference in New Issue
Block a user