Include screen measures in rageshakes for UI issues
Change-Id: I8d659b8150211b67aa8f563ef6f59a47665bc45f
This commit is contained in:
parent
ba77e7fcc9
commit
72cca114d3
|
@ -323,6 +323,14 @@ class BugReporter @Inject constructor(
|
|||
builder.addFormDataPart("enabledDebugSettings", enabledDebugSettings.joinToString())
|
||||
.addFormDataPart("reportTime", reportTime)
|
||||
.addFormDataPart("packageName", buildMeta.applicationId)
|
||||
// Device characteristics
|
||||
context.resources.displayMetrics.apply {
|
||||
builder.addFormDataPart("device_density", density.toString())
|
||||
.addFormDataPart("device_width_px", widthPixels.toString())
|
||||
.addFormDataPart("device_height_px", heightPixels.toString())
|
||||
.addFormDataPart("device_width_dp", (widthPixels/density).toString())
|
||||
.addFormDataPart("device_height_dp", (heightPixels/density).toString())
|
||||
}
|
||||
|
||||
// add the gzipped files
|
||||
for (file in gzippedFiles) {
|
||||
|
|
Loading…
Reference in New Issue