diff --git a/src/org/jitsi/impl/configuration/ConfigurationServiceImpl.java b/src/org/jitsi/impl/configuration/ConfigurationServiceImpl.java index 581e0b130bb8b98939699b9e5d1ccbee4f126d22..e5ea194a62aa25c47cacf3bde70cf5b845ab2d26 100644 --- a/src/org/jitsi/impl/configuration/ConfigurationServiceImpl.java +++ b/src/org/jitsi/impl/configuration/ConfigurationServiceImpl.java @@ -1559,7 +1559,20 @@ private void loadDefaultProperties(String fileName) { Properties fileProps = new Properties(); - fileProps.load(ClassLoader.getSystemResourceAsStream(fileName)); + InputStream fileStream; + if(OSUtils.IS_ANDROID) + { + fileStream + = getClass().getClassLoader() + .getResourceAsStream(fileName); + } + else + { + fileStream = ClassLoader.getSystemResourceAsStream(fileName); + } + + fileProps.load(fileStream); + fileStream.close(); // now get those properties and place them into the mutable and // immutable properties maps.