mirror of
https://github.com/etesync/android
synced 2024-11-22 07:58:09 +00:00
Acra report: include installFrom.
This commit is contained in:
parent
66e70b2a29
commit
6af90b38ae
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user