Bug 1007836 - Send 'tablet' flag with TelemetryPing info r=rnewman a=sylvestre
authorMark Finkle <mfinkle@mozilla.com>
Thu, 08 May 2014 16:24:23 -0400
changeset 199229 601a021cd6fd128ff39a38379c6995a01e0bab3e
parent 199228 42d103fc89938e885d42a6075173e17902669ee4
child 199230 331db2dde15b1c1e2c8da83f61656089a853b372
push id3624
push userasasaki@mozilla.com
push dateMon, 09 Jun 2014 21:49:01 +0000
treeherdermozilla-beta@b1a5da15899a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrnewman, sylvestre
bugs1007836
milestone31.0a2
Bug 1007836 - Send 'tablet' flag with TelemetryPing info r=rnewman a=sylvestre
toolkit/components/telemetry/TelemetryPing.jsm
--- a/toolkit/components/telemetry/TelemetryPing.jsm
+++ b/toolkit/components/telemetry/TelemetryPing.jsm
@@ -466,17 +466,17 @@ let Impl = {
 
     if (this._previousBuildID) {
       ret.previousBuildID = this._previousBuildID;
     }
 
     // sysinfo fields are not always available, get what we can.
     let sysInfo = Cc["@mozilla.org/system-info;1"].getService(Ci.nsIPropertyBag2);
     let fields = ["cpucount", "memsize", "arch", "version", "kernel_version",
-                  "device", "manufacturer", "hardware",
+                  "device", "manufacturer", "hardware", "tablet",
                   "hasMMX", "hasSSE", "hasSSE2", "hasSSE3",
                   "hasSSSE3", "hasSSE4A", "hasSSE4_1", "hasSSE4_2",
                   "hasEDSP", "hasARMv6", "hasARMv7", "hasNEON", "isWow64",
                   "profileHDDModel", "profileHDDRevision", "binHDDModel",
                   "binHDDRevision", "winHDDModel", "winHDDRevision"];
     for each (let field in fields) {
       let value;
       try {