Bug 1221646 - Report getInstallerPackageName() in telemetry. r=ahunt,liuche

MozReview-Commit-ID: EiPNDsVam0x

--HG--
extra : rebase_source : 88f99dc42117ad024051eef8786caa2125763e23
This commit is contained in:
Sebastian Kaspari 2016-07-20 11:58:35 +02:00
parent 6fc19dc1e3
commit a6af10feb9

View File

@ -766,6 +766,10 @@ public class BrowserApp extends GeckoApp
for (final BrowserAppDelegate delegate : delegates) {
delegate.onCreate(this, savedInstanceState);
}
// We want to get an understanding of how our user base is spread (bug 1221646).
final String installerPackageName = getPackageManager().getInstallerPackageName(getPackageName());
Telemetry.sendUIEvent(TelemetryContract.Event.LAUNCH, TelemetryContract.Method.SYSTEM, "installer_" + installerPackageName);
}
/**