OSDN Git Service

Fix #2262593: 42 ANR reports from android.process.acore
authorDianne Hackborn <hackbod@google.com>
Tue, 17 Nov 2009 01:16:26 +0000 (17:16 -0800)
committerDianne Hackborn <hackbod@google.com>
Tue, 17 Nov 2009 01:16:26 +0000 (17:16 -0800)
commit60d7db4c3e3d60060e7ac021445ea1f510b7a1fb
treebfefb081cab416e1a9c4583f4ca1fa345cf60fd8
parentab5efde8dcdfcafea7e9d95350e18022b1adc679
Fix #2262593: 42 ANR reports from android.process.acore

There was a lock in AssetManager that purported to be per-instance (mSync)
but was actually static.  A lot of code used it like it was per-instance,
but this would actually block all instances.  This is now changed to fix
the name and make everything except the actual static data lock on the
specific AssetManager instance.

Change-Id: Ie8e9ad60f962184e76b2301f7a2790d0c2487063
core/java/android/content/res/AssetManager.java