Skip to content

Commit

Permalink
Yalp version and name of the app being installed now added to crash r…
Browse files Browse the repository at this point in the history
…eport
  • Loading branch information
yeriomin committed Feb 28, 2017
1 parent 47452db commit 763aa65
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ private String buildBody(Throwable e) {

private Map<String, String> getDeviceInfo() {
Map<String, String> values = new LinkedHashMap<>();
values.put("YALP.VERSION", BuildConfig.VERSION_NAME);
if (null != DetailsDependentActivity.app) {
values.put("APP.BEING.INSTALLED", DetailsDependentActivity.app.getPackageName());
}
values.putAll(getBuildValues());
values.putAll(getConfigurationValues());
values.putAll(getDisplayMetricsValues());
Expand Down

0 comments on commit 763aa65

Please sign in to comment.