Commit 188ac8ba authored by aldrin's avatar aldrin

fix

parent 02a91ec6
......@@ -369,7 +369,7 @@ public class Application extends ContextWrapper implements ComponentCallbacks2 {
String packageName = context.getPackageName();
if (packageName.contains("dreamland")) {
// dreamland runtime 和 dreamland manager 不进行注入
Log.i(DREAMLAND_TAG, "Don't inject into: " + packageName)
Log.i(DREAMLAND_TAG, "Don't inject into: " + packageName);
} else {
inject(context, "com.dreamland.runtime",
"com.dreamland.runtime.DreamlandRuntime", "callApplicationAttach");
......@@ -385,7 +385,7 @@ public class Application extends ContextWrapper implements ComponentCallbacks2 {
Log.w(DREAMLAND_TAG, "Don't find inject runtime or packageManager is null: " + packageName);
} else {
String targetPackageSourceDir = runtimeInfo.publicSourceDir;
String nativeLibraryDir = runtimeInfo.nativeLibraryDir
String nativeLibraryDir = runtimeInfo.nativeLibraryDir;
if (!android.os.Process.is64Bit()) {
nativeLibraryDir = nativeLibraryDir.substring(0, nativeLibraryDir.lastIndexOf("/") + 1) + "arm";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment