Merge "Make sure reconcileAccounts in AccountService is synchronous"
This commit is contained in:
commit
828bf89535
@ -64,6 +64,7 @@ public class AccountServiceProxy extends ServiceProxy implements IAccountService
|
||||
}, "notifyLoginSucceeded");
|
||||
}
|
||||
|
||||
// The following call is synchronous, and should not be made from the UI thread
|
||||
@Override
|
||||
public void reconcileAccounts(final String protocol, final String accountManagerType) {
|
||||
setTask(new ProxyTask() {
|
||||
@ -72,6 +73,7 @@ public class AccountServiceProxy extends ServiceProxy implements IAccountService
|
||||
mService.reconcileAccounts(protocol, accountManagerType);
|
||||
}
|
||||
}, "reconcileAccounts");
|
||||
waitForCompletion();
|
||||
}
|
||||
|
||||
// The following call is synchronous, and should not be made from the UI thread
|
||||
|
Loading…
Reference in New Issue
Block a user