Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@
import android.content.Context;

import com.tencent.tinker.lib.service.PatchResult;
import com.tencent.tinker.lib.tinker.Tinker;
import com.tencent.tinker.lib.util.TinkerLog;
import com.tencent.tinker.loader.shareutil.ShareSecurityCheck;
import com.tencent.tinker.loader.shareutil.ShareTinkerLog;

import java.io.File;


/**
* generate new patch, you can implement your own patch processor class
Expand All @@ -35,4 +39,28 @@ public boolean tryPatch(Context context, String tempPatchPath, boolean useEmerge
ShareTinkerLog.e(TAG, "[-] Ignore this invocation since I'm no-op version.");
return false;
}

public boolean tryRecoverDexFiles(Tinker manager, ShareSecurityCheck checker, Context context,
String patchVersionDirectory, File patchFile) {
ShareTinkerLog.e(TAG, "[-] Ignore this invocation since I'm no-op version.");
return false;
}

public boolean tryRecoverLibraryFiles(Tinker manager, ShareSecurityCheck checker, Context context,
String patchVersionDirectory, File patchFile) {
ShareTinkerLog.e(TAG, "[-] Ignore this invocation since I'm no-op version.");
return false;
}

public boolean tryRecoverResourceFiles(Tinker manager, ShareSecurityCheck checker, Context context,
String patchVersionDirectory, File patchFile) {
ShareTinkerLog.e(TAG, "[-] Ignore this invocation since I'm no-op version.");
return false;
}

public boolean tryRecoverArkHotLibrary(Tinker manager, ShareSecurityCheck checker, Context context,
String patchVersionDirectory, File patchFile) {
ShareTinkerLog.e(TAG, "[-] Ignore this invocation since I'm no-op version.");
return false;
}
}