Merge "fix issue where players would be wrongly dismissed" into rvc-dev

This commit is contained in:
Lucas Dupin
2020-06-17 03:31:16 +00:00
committed by Android (Google) Code Review

View File

@@ -261,7 +261,7 @@ class MediaDataManager @Inject constructor(
}
it.active = !timedOut
onMediaDataLoaded(token, token, it)
} else {
} else if (timedOut) {
notificationEntryManager.removeNotification(it.notificationKey, null /* ranking */,
UNDEFINED_DISMISS_REASON)
}