bool checkAndRetryFullWallet (int errorCode)
{
if ((errorCode == WalletConstants.ErrorCodeServiceUnavailable ||
errorCode == WalletConstants.ErrorCodeUnknown) &&
mRetryLoadFullWalletCount < MAX_FULL_WALLET_RETRIES) {
mRetryLoadFullWalletCount++;
getFullWallet();
return true;
}
return false;
}