diff options
author | Tom Taylor <tomtaylor@google.com> | 2009-11-09 16:56:19 -0800 |
---|---|---|
committer | Tom Taylor <tomtaylor@google.com> | 2009-11-09 17:07:39 -0800 |
commit | 5544f47dbe1ffd4af73b9b9dde0e35cd257cd795 (patch) | |
tree | f3912a3e67225c1813958847a92d76d18b495c8f /AndroidManifest.xml | |
parent | ca32ff9372648413f0bb5cb37329b30a601ffbdd (diff) | |
download | Mms-5544f47dbe1ffd4af73b9b9dde0e35cd257cd795.tar.gz |
Fix ANR deadlock
When the Mms app starts up, Conversation starts a background thread
to load all the conversations into a cache. It had a lock on the cache.
Meanwhile, the ComposeMessageActivity started up and tried to load
its conversation, but was blocked and eventually ANR'd. Make the
sync lock cover a much smaller scope and don't hold the lock during
the slow operation of looking up the contact info. Also, remove the
unused SuggestionsProvider. It was causing the Mms app to spin up
needlessly. Fixes bug 2220565.
Change-Id: I0f8260338a5368dc4b8ef11249361ca0716a2887
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r-- | AndroidManifest.xml | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 3e21e63f..f9b433ce 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -248,9 +248,5 @@ <meta-data android:name="android.app.default_searchable" android:value=".ui.SearchActivity" /> - <!-- Search Suggestions Provider --> - <provider android:name="SuggestionsProvider" - android:authorities="com.android.mms.SuggestionsProvider" /> - </application> </manifest> |