Don't load contacts on UI thread
authorTom Taylor <tomtaylor@google.com>
Tue, 12 Jan 2010 22:40:37 +0000 (14:40 -0800)
committerTom Taylor <tomtaylor@google.com>
Tue, 12 Jan 2010 22:40:37 +0000 (14:40 -0800)
commit68f969df2239c4209b3db3294498ffab4526e34e
treed0252484e1822c2703c2bb262c249f8618658211
parentef9af5d0206c222e4bf706442c269b08d5ca757b
Don't load contacts on UI thread

There's a route through a Conversation constructor that will
result in the conversation's contacts getting loaded on the
UI thread. Add an explicit "allowQuery" parameter to give callers
the ability to throttle this behavior. Fixes bug 2280762.

Conflicts:

src/com/android/mms/data/Conversation.java
src/com/android/mms/ui/ComposeMessageActivity.java
src/com/android/mms/data/Conversation.java
src/com/android/mms/ui/ComposeMessageActivity.java