commit | a17a1347ffe281fc70633ba8dc98f6cf49ac06ff | [log] [tgz] |
---|---|---|
author | Dave Sparks <davidsparks@android.com> | Thu Apr 01 18:00:58 2010 -0700 |
committer | Dave Sparks <davidsparks@android.com> | Thu Apr 01 18:08:22 2010 -0700 |
tree | bbecb38baa1d87f4319624522d34ece1a3df96ec | |
parent | 71662fe8f5cc0dda0837596e9d44200d302697e8 [diff] |
Use local lock for most MediaMetadataRetriever methods. Bug 2560834. MediaMetadataRetriever uses a single static lock for all operations. This effectively serializes all metadata retrieval operations in a single process. This patch uses the object level lock for all normal operations and only uses the static lock to serialize calls to release. Change-Id: I81c9f234c2f0007a26d18e1398c709b41a4dbbd7