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

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

Change-Id: I1c8e3c2eb377f7d91261dca8e06867474f97a336
This commit is contained in:
Lucas Dupin
2020-06-17 04:21:53 +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)
}