Merge "fix issue where players would be wrongly dismissed" into rvc-dev am: 7d985f792c am: 4a8ce781e0 am: 9ae6152f6b

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11887440

Change-Id: I6d1c57baf9a02f7f12e2df508636bf09e2e9b42d
This commit is contained in:
Lucas Dupin
2020-06-17 04:03:31 +00:00
committed by Automerger Merge Worker

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