am ecfc9e92
: Merge change Icba56688 into eclair-mr2
Merge commit 'ecfc9e92e5910fa47f2b6e4d699e951ce81ab99e' into eclair-mr2-plus-aosp * commit 'ecfc9e92e5910fa47f2b6e4d699e951ce81ab99e': Ensure that service calls run outside the UI thread (#2235734)
This commit is contained in:
commit
936886206b
@ -85,7 +85,11 @@ public class EmailServiceProxy implements IEmailService {
|
||||
if (DEBUG_PROXY) {
|
||||
Log.v(TAG, "Service " + mClass.getSimpleName() + " connected");
|
||||
}
|
||||
runTask();
|
||||
// Run our task on a new thread
|
||||
new Thread(new Runnable() {
|
||||
public void run() {
|
||||
runTask();
|
||||
}}).start();
|
||||
}
|
||||
|
||||
public void onServiceDisconnected(ComponentName name) {
|
||||
|
Loading…
Reference in New Issue
Block a user