summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/19
diff options
context:
space:
mode:
authorLucas Dupin <dupin@google.com>2020-06-29 17:20:41 -0700
committerLucas Dupin <dupin@google.com>2020-06-30 15:40:28 -0700
commitfb4c7ebaa9dec7a9c4cdfc0d955ca946fa9aecc6 (patch)
tree64f141d561b643b93b92347bf6ba80467d02a8f5 /docs/html/sdk/api_diff/19
parent44d6bc8594d26a5ff85f5b828e1ba3f903c9136f (diff)
Avoid reentrant callback when setting up listeners
When registering new media players for timeouts, we should schedule their timeouts but not trigger the listeners yet. Otherwise we would end up on states where listeners would be ask to update players that were not initialized yet. One exception is when a playing is migrating from "resumable" to active. We'll then delay the state to the next Looper loop. Test: atest MediaTimeoutListenerTest Test: manually expire players Bug: 160036959 Change-Id: I9302dee6190e08c0e845b6f28dfcc249b636d90d
Diffstat (limited to 'docs/html/sdk/api_diff/19')
0 files changed, 0 insertions, 0 deletions