am 4a7a50f6: Fix potential NPE in earlier CL

Merge commit '4a7a50f6a694c3d57cb18ee8011c473851b065a8' into eclair-mr2-plus-aosp

* commit '4a7a50f6a694c3d57cb18ee8011c473851b065a8':
  Fix potential NPE in earlier CL
This commit is contained in:
Marc Blank 2009-12-14 17:20:48 -08:00 committed by Android Git Automerger
commit 319dd10f4f

View File

@ -1093,7 +1093,9 @@ public class EasSyncService extends AbstractSyncService {
// Set up our protocol version
mProtocolVersion = mAccount.mProtocolVersion;
if (mProtocolVersion != null) {
mProtocolVersionDouble = Double.parseDouble(mProtocolVersion);
}
return true;
}