Skip to content
This repository was archived by the owner on Feb 12, 2026. It is now read-only.

Commit d1571e5

Browse files
Add missing callers to deoptimize (#6)
This fixes modules like OxygenCustomiser when reoptimising dex is run. The feature was broken by the latest OOS 15 850+ OTA. Co-authored-by: Irena <140869597+re-zero001@users.noreply.github.com>
1 parent 7700eaf commit d1571e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/src/main/java/org/lsposed/lspd/deopt/InlinedMethodCallers.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
package org.lsposed.lspd.deopt;
2222

23+
import android.app.Instrumentation;
2324
import android.content.Context;
2425
import android.content.pm.ApplicationInfo;
2526
import android.content.res.AssetManager;
@@ -55,6 +56,9 @@ public class InlinedMethodCallers {
5556
*/
5657
private static final Object[][] BOOT_IMAGE = {
5758
// callers of Application#attach(Context)
59+
{"android.app.LoadedApk", "makeApplication", Boolean.TYPE, Instrumentation.class},
60+
{"android.app.LoadedApk", "makeApplicationInner", Boolean.TYPE, Instrumentation.class},
61+
{"android.app.LoadedApk", "makeApplicationInner", Boolean.TYPE, Instrumentation.class, Boolean.TYPE},
5862
{"android.app.Instrumentation", "newApplication", ClassLoader.class, String.class, Context.class},
5963
{"android.app.Instrumentation", "newApplication", ClassLoader.class, Context.class},
6064
{"android.app.ContextImpl", "getSharedPreferencesPath", String.class}

0 commit comments

Comments
 (0)