summaryrefslogtreecommitdiffstats
path: root/media/libmedia/IMediaPlayerService.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-10-02 18:12:30 -0700
committerMathias Agopian <mathias@google.com>2009-10-02 18:12:30 -0700
commitdefd1bd08aaf7edc1918108419cf3f9d185c22f9 (patch)
treed62951948b4c812e106ae6a0e5e423221bf86197 /media/libmedia/IMediaPlayerService.cpp
parentfdf23c711d5d6094c95b43cdc9356a25d67f10c8 (diff)
downloadframeworks_av-defd1bd08aaf7edc1918108419cf3f9d185c22f9.zip
frameworks_av-defd1bd08aaf7edc1918108419cf3f9d185c22f9.tar.gz
frameworks_av-defd1bd08aaf7edc1918108419cf3f9d185c22f9.tar.bz2
Attempt to fix [2152536] ANR in browser
The ANR is caused by SurfaceFlinger waiting for buffers of a removed surface to become availlable. When it is removed from the current list, a Surface is marked as NO_INIT, which causes SF to return immediately in the above case. For some reason, the surface here wasn't marked as NO_INIT. This change makes the code more robust by always (irregadless or errors) setting the NO_INIT status in all code paths where a surface is removed from the list. Additionaly added more information in the logs, should this happen again.
Diffstat (limited to 'media/libmedia/IMediaPlayerService.cpp')
0 files changed, 0 insertions, 0 deletions