chore: do not send reports on simulators.

This commit is contained in:
Amine Bouabdallaoui 2025-03-09 18:07:14 +01:00
parent bb84d1541c
commit f0fa1a17b6

View File

@ -22,5 +22,5 @@ class AcraReportingAdministrator : ReportingAdministrator {
context: Context,
config: CoreConfiguration,
crashReportData: CrashReportData,
): Boolean = crashReportData.get("BRAND") != "redroid"
): Boolean = crashReportData.get("BRAND") != "redroid" && !crashReportData.get("PHONE_MODEL").toString().startsWith("sdk_gphone")
}