public void onPatchServiceResult(boolean isUpgradePatch){
  if (!isRetryEnable) {
    TinkerLog.w(TAG,"onPatchServiceResult retry disabled, just return");
    return;
  }
  if (!isUpgradePatch) {
    TinkerLog.w(TAG,"onPatchServiceResult is not upgrade patch, just return");
    return;
  }
  if (retryInfoFile.exists()) {
    SharePatchFileUtil.safeDeleteFile(retryInfoFile);
  }
  if (tempPatchFile.exists()) {
    SharePatchFileUtil.safeDeleteFile(tempPatchFile);
  }
}

public void onPatchServiceResult ( boolean isUpgradePatch ) { if ( ! isRetryEnable ) { TinkerLog . w ( TAG , "onPatchServiceResult retry disabled, just return" ) ; return ; } if ( ! isUpgradePatch ) { TinkerLog . w ( TAG , "onPatchServiceResult is not upgrade patch, just return" ) ; return ; } if ( retryInfoFile . exists ( ) ) { SharePatchFileUtil . safeDeleteFile ( retryInfoFile ) ; } if ( tempPatchFile . exists ( ) ) { SharePatchFileUtil . safeDeleteFile ( tempPatchFile ) ; } }
if we receive any result , we can delete the temp retry info file
