Fix dummy resources classes not found when resources hook is disabled
This commit is contained in:
parent
457f867a82
commit
a26990ec99
|
|
@ -1,4 +1,4 @@
|
||||||
version: '0.4.5.3_beta({build})'
|
version: '0.4.5.4_beta({build})'
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
ANDROID_HOME: C:\android-sdk-windows
|
ANDROID_HOME: C:\android-sdk-windows
|
||||||
|
|
|
||||||
|
|
@ -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.4.5.3_beta'
|
def buildVersionName = 'v0.4.5.4_beta'
|
||||||
def buildVersionCode = 10000
|
def buildVersionCode = 10000
|
||||||
|
|
||||||
if (System.env.APPVEYOR_BUILD_VERSION != null) {
|
if (System.env.APPVEYOR_BUILD_VERSION != null) {
|
||||||
|
|
|
||||||
|
|
@ -93,9 +93,6 @@ public final class XposedBridge {
|
||||||
public static volatile ClassLoader dummyClassLoader = null;
|
public static volatile ClassLoader dummyClassLoader = null;
|
||||||
|
|
||||||
public static void initXResources() {
|
public static void initXResources() {
|
||||||
if (!EdXpConfigGlobal.getConfig().isResourcesHookEnabled()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (dummyClassLoader != null) {
|
if (dummyClassLoader != null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue