Deoptimize all callers of Application#attach(Context)
This commit is contained in:
parent
e12c40b408
commit
11e6eeb397
|
|
@ -1,4 +1,4 @@
|
||||||
version: '0.5.0.0 ({build})'
|
version: '0.5.0.5 ({build})'
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
ANDROID_HOME: C:\android-sdk-windows
|
ANDROID_HOME: C:\android-sdk-windows
|
||||||
|
|
|
||||||
|
|
@ -32,8 +32,10 @@ public class InlinedMethodCallers {
|
||||||
private static final String[][] BOOT_IMAGE = {
|
private static final String[][] BOOT_IMAGE = {
|
||||||
// callers of Application#attach(Context)
|
// 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;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 = {
|
private static final String[][] BOOT_IMAGE_FOR_MIUI_RES = {
|
||||||
// for MIUI resources hooking
|
// for MIUI resources hooking
|
||||||
{"android.content.res.MiuiResources", "init", "(Ljava/lang/String;)V"},
|
{"android.content.res.MiuiResources", "init", "(Ljava/lang/String;)V"},
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import org.gradle.internal.os.OperatingSystem
|
||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
// Values set here will be overriden by AppVeyor, feel free to modify during development.
|
// 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
|
def buildVersionCode = 233
|
||||||
|
|
||||||
if (System.env.APPVEYOR_BUILD_VERSION != null) {
|
if (System.env.APPVEYOR_BUILD_VERSION != null) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue