Fix dummy resources classes not found when resources hook is disabled

This commit is contained in:
solohsu 2019-06-27 16:03:54 +08:00
parent 457f867a82
commit a26990ec99
3 changed files with 2 additions and 5 deletions

View File

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

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.4.5.3_beta'
def buildVersionName = 'v0.4.5.4_beta'
def buildVersionCode = 10000
if (System.env.APPVEYOR_BUILD_VERSION != null) {

View File

@ -93,9 +93,6 @@ public final class XposedBridge {
public static volatile ClassLoader dummyClassLoader = null;
public static void initXResources() {
if (!EdXpConfigGlobal.getConfig().isResourcesHookEnabled()) {
return;
}
if (dummyClassLoader != null) {
return;
}