Verified Commit 714367b3 authored by Marvin W.'s avatar Marvin W. 🐿
Browse files

EN: Remove ExposureSummary from intent extras in ExposureWindow mode

Intent extras are only supported in v1 mode, but CWA also accesses them in
ExposureWindow mode, which can result in ClassNotFoundException in optimized

Fixes #1325
parent c6488831
......@@ -370,10 +370,13 @@ class ExposureNotificationServiceImpl(private val context: Context, private val
try {
val intent = if (exposureSummary.matchedKeyCount > 0) {
} else {
if (token != TOKEN_A) {
intent.putExtra(EXTRA_EXPOSURE_SUMMARY, exposureSummary)
intent.putExtra(EXTRA_TOKEN, token)
intent.`package` = packageName
Log.d(TAG, "Sending $intent")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment