Merge commit 'c7931b07e605bca3b59f295877fea7f163001a66' into kraken * commit 'c7931b07e605bca3b59f295877fea7f163001a66': Test for NPE in EasSyncService during alarm() call
This commit is contained in:
commit
19025fda24
@ -235,6 +235,7 @@ public class EasSyncService extends AbstractSyncService {
|
|||||||
*/
|
*/
|
||||||
public boolean alarm() {
|
public boolean alarm() {
|
||||||
HttpPost post;
|
HttpPost post;
|
||||||
|
if (mThread == null) return true;
|
||||||
String threadName = mThread.getName();
|
String threadName = mThread.getName();
|
||||||
|
|
||||||
// Synchronize here so that we are guaranteed to have valid mPendingPost and mPostLock
|
// Synchronize here so that we are guaranteed to have valid mPendingPost and mPostLock
|
||||||
|
Loading…
Reference in New Issue
Block a user