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:
commit
319dd10f4f
@ -1093,7 +1093,9 @@ public class EasSyncService extends AbstractSyncService {
|
||||
|
||||
// Set up our protocol version
|
||||
mProtocolVersion = mAccount.mProtocolVersion;
|
||||
mProtocolVersionDouble = Double.parseDouble(mProtocolVersion);
|
||||
if (mProtocolVersion != null) {
|
||||
mProtocolVersionDouble = Double.parseDouble(mProtocolVersion);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user