/** * you must set after tinker has installed * * @param context */ public UpgradePatchRetry(Context context) { this.context = context; retryInfoFile = new File(SharePatchFileUtil.getPatchDirectory(context), RETRY_INFO_NAME); tempPatchFile = new File(SharePatchFileUtil.getPatchDirectory(context), TEMP_PATCH_NAME); }