fix for a npe? but how did this happen? seems unlikely.

pull/14/head
Tim Su 16 years ago
parent 8bf37b2ba8
commit 0fead5c0d5

@ -35,7 +35,7 @@ public class ProducteevBackgroundService extends Service {
/** Receive the alarm - start the synchronize service! */ /** Receive the alarm - start the synchronize service! */
@Override @Override
public void onStart(Intent intent, int startId) { public void onStart(Intent intent, int startId) {
if(SYNC_ACTION.equals(intent.getAction())) if(intent != null && SYNC_ACTION.equals(intent.getAction()))
startSynchronization(this); startSynchronization(this);
} }

Loading…
Cancel
Save