OSDN Git Service

Don't purge effects we're about to start using
authorMarco Nelissen <marcone@google.com>
Fri, 10 May 2013 17:10:42 +0000 (10:10 -0700)
committerMarco Nelissen <marcone@google.com>
Fri, 10 May 2013 17:10:42 +0000 (10:10 -0700)
commit082aa3f335ffeedacafeb8982684cbb371a18c32
tree74688a93f80f91b9870d13fd5ceb53a57eb13675
parent6aade6058521b0dbd35a9a4620f4d04f02f90444
Don't purge effects we're about to start using

By acquiring the new session id before releasing the old, we prevent
purging existing effects with the new session id that aren't currently
attached but will be once the player is switched to the new session id.
b/8767565

Change-Id: I703881b69c5accd8832ac834246925a20ada4c21
media/libmedia/mediaplayer.cpp