1
0
mirror of https://github.com/etesync/android synced 2024-11-22 16:08:13 +00:00

Acra report: include installFrom.

This commit is contained in:
Tom Hacohen 2019-01-05 22:31:49 +00:00
parent 66e70b2a29
commit 6af90b38ae

View File

@ -122,6 +122,9 @@ class App : Application() {
// The following line triggers the initialization of ACRA // The following line triggers the initialization of ACRA
ACRA.init(this) ACRA.init(this)
val pm = base.packageManager
var installedFrom = pm.getInstallerPackageName(BuildConfig.APPLICATION_ID)
ACRA.getErrorReporter().putCustomData("installedFrom", installedFrom);
} }
private fun loadLanguage() { private fun loadLanguage() {