Remove call length checks from CallQuality trigger.

This commit is contained in:
Alex Hart
2026-01-13 10:03:33 -04:00
committed by Michelle Tang
parent 1f7e9df7ff
commit 7f3966ff07
2 changed files with 2 additions and 11 deletions

View File

@@ -111,14 +111,6 @@ object CallQuality {
return false
}
val callLength = callSummary.endTime.milliseconds - callSummary.startTime.milliseconds
val isLongerThanTenMinutes = callLength > 10.minutes
val isLessThanOneMinute = callLength < 1.minutes
if (isLongerThanTenMinutes || isLessThanOneMinute) {
return true
}
val chance = LocaleRemoteConfig.getCallQualitySurveyPartsPerMillion()
val roll = (0 until 1_000_000).random()