commit | db6cc0ba71a873ad0258e850cb939639b7857c26 | [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 | 910304658bb8d40a41f135a0874a518b15014391 | |
parent | e11bafec8d6c887c6ae95fa3d39c202859e86d48 [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