javauis/mmapi_qt/baseline/javasrc.emc/com/nokia/microedition/media/ManagerImpl.java
changeset 56 abc41079b313
parent 49 35baca0e7a2e
child 72 1f0034e370aa
--- 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));