commit | 6c4a1d00c7e98e381104bd3bdf026afa12eb4dbc | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Thu Jun 04 18:22:36 2020 -0700 |
committer | Lucas Dupin <dupin@google.com> | Thu Jun 04 18:22:36 2020 -0700 |
tree | 4713b6b919e48451aa51443d67ae0abb661e2521 | |
parent | cf7f7ca76217cdb803c2ad23a4176fca65ff64cd [diff] |
Do not extend timeout if not playing Before, we'd always extend the timeout upon media state updates, this means that going from STOPPED to PAUSED would reset the timeout. This is not desirable. Test: atest MediaTimeoutListenerTest Bug: 157587326 Change-Id: Ie06904c90561e6c2bd23c0c7f4df76c2b597d899