fix issue where players would be wrongly dismissed
When resumption is disabled, we should only remove players when timedOut is true. Fixes: 158721393 Test: manual Change-Id: I18b36c95ac72d5728ed203ac2b5d344b58676dc4
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user