chore: do not send reports on simulators. #188

Merged
AmineB merged 1 commits from chore-acra-simulator into master 2025-03-09 17:11:29 +00:00
Showing only changes of commit f0fa1a17b6 - Show all commits

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")
}