summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorLucas Dupin <dupin@google.com>2020-05-21 16:19:59 -0700
committerLucas Dupin <dupin@google.com>2020-05-21 16:31:48 -0700
commit41c3f9c078e1d662cfb0eae6a61a33560e26e8eb (patch)
tree5fb81302c005e7794df46e6235173e3553ee243b /rs/java/android/renderscript/Program.java
parentec95b137caaf3fe8381ed0ce5a733a6238c071f9 (diff)
Fix issue where media would not expire
We only register media listerners for active streams, and this can be a problem. A stream might arrive not playing yet because it's buffering, and we won't receive any other state notifications about it. Let's register listeners for all media streams that have notifications, regardless of them being already active or not. Test: play/pause song without pulling down the shade, wait for media timeout Test: play/pause song with shade down, wait for timeout Bug: 153897770 Change-Id: I1809f2380bbe2840640baa732360a230904b0c57
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions