Deoptimize all callers of Application#attach(Context)

This commit is contained in:
solohsu 2020-08-02 18:32:11 +08:00
parent e12c40b408
commit 11e6eeb397
3 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
version: '0.5.0.0 ({build})'
version: '0.5.0.5 ({build})'
environment:
ANDROID_HOME: C:\android-sdk-windows

View File

@ -32,8 +32,10 @@ public class InlinedMethodCallers {
private static final String[][] BOOT_IMAGE = {
// callers of Application#attach(Context)
{"android.app.Instrumentation", "newApplication", "(Ljava/lang/ClassLoader;Ljava/lang/String;Landroid/content/Context;)Landroid/app/Application;"},
{"android.app.Instrumentation", "newApplication", "(Ljava/lang/ClassLoader;Landroid/content/Context;)Landroid/app/Application;"},
};
// TODO deprecate this
private static final String[][] BOOT_IMAGE_FOR_MIUI_RES = {
// for MIUI resources hooking
{"android.content.res.MiuiResources", "init", "(Ljava/lang/String;)V"},

View File

@ -4,7 +4,7 @@ import org.gradle.internal.os.OperatingSystem
apply plugin: 'com.android.library'
// Values set here will be overriden by AppVeyor, feel free to modify during development.
def buildVersionName = 'v0.5.0.0'
def buildVersionName = 'v0.5.0.5'
def buildVersionCode = 233
if (System.env.APPVEYOR_BUILD_VERSION != null) {