summaryrefslogtreecommitdiff
path: root/opengl/java/android/opengl/Texture.java
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2011-10-14 15:12:41 +0100
committerBen Murdoch <benm@google.com>2011-10-14 22:11:26 +0100
commit817d6d5e8efa30082ce4b31d7da73cee20fc664a (patch)
tree69052292f7f073b0fbb6726f89901bdef0eaa00c /opengl/java/android/opengl/Texture.java
parent9ad680ca2be19679c355de9526d79ded2887ea97 (diff)
Check MediaPlayer state, do not teardown() from UI thread.
The teardown() function should only be called from the native thread when WebCore is happy for us to release the media player. When we lose audio focus, simply stop playback. Also be careful not to check the playing state of the MediaPlayer if we are in the error state. Bug: 5461143 Change-Id: Iba03bdad5c39b104b3071129430d7ef2177e9358
Diffstat (limited to 'opengl/java/android/opengl/Texture.java')
0 files changed, 0 insertions, 0 deletions