javauis/mmapi_qt/baseline/javasrc.emc/com/nokia/microedition/media/ManagerImpl.java
--- a/javauis/mmapi_qt/baseline/javasrc.emc/com/nokia/microedition/media/ManagerImpl.java Fri Jul 09 16:35:45 2010 +0300
+++ b/javauis/mmapi_qt/baseline/javasrc.emc/com/nokia/microedition/media/ManagerImpl.java Fri Jul 23 12:27:20 2010 +0300
@@ -469,24 +469,28 @@
InternalPlayer player =null;
/// Implementation done for java ui 3.x req
// in case of AnimationPlayer file protocol, we won't be using the ProtocolFactory class.
- // We need to do this kind of work out, only if it is file protocol
- if (new Locator(aLocator).getProtocol().equals("file")) {
- Enumeration plugins = iPlugIns.elements();
- AnimationPlayerFactory apf = null;
- while (plugins.hasMoreElements() && (player == null)) {
- PlugIn temp = (PlugIn) plugins.nextElement();
- if (temp instanceof AnimationPlayerFactory) {
- apf = (AnimationPlayerFactory) temp;
- break;
- }
- }
- if (apf != null) {
- player = apf.createPlayer(aLocator);
- }
- }
+ // We need to do this kind of work out, only if it is file protocol
+ if (new Locator(aLocator).getProtocol().equals("file"))
+ {
+ Enumeration plugins = iPlugIns.elements();
+ AnimationPlayerFactory apf = null;
+ while (plugins.hasMoreElements() && (player == null))
+ {
+ PlugIn temp = (PlugIn) plugins.nextElement();
+ if (temp instanceof AnimationPlayerFactory)
+ {
+ apf = (AnimationPlayerFactory) temp;
+ break;
+ }
+ }
+ if (apf != null)
+ {
+ player = apf.createPlayer(aLocator);
+ }
+ }
////////////////////////////////////////////////////////
// if player is still null, try to create the native player
- System.out.println("ManagerImpl::createPlayer(String locator )locator is "+aLocator );
+ System.out.println("ManagerImpl::createPlayer(String locator )locator is "+aLocator);
if (player==null)
player =iProtocolFactory.createPlayer(
new Locator(aLocator));