diff options
author | Lucas Dupin <dupin@google.com> | 2020-06-04 18:22:36 -0700 |
---|---|---|
committer | Lucas Dupin <dupin@google.com> | 2020-06-04 18:22:36 -0700 |
commit | 6c4a1d00c7e98e381104bd3bdf026afa12eb4dbc (patch) | |
tree | 4713b6b919e48451aa51443d67ae0abb661e2521 /tools/aapt2/java/JavaClassGenerator.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions