javauis/lcdui_akn/javalcdui/src/CMIDEnv.cpp
branchRCL_3
changeset 83 26b2b12093af
parent 77 7cee158cb8cd
--- a/javauis/lcdui_akn/javalcdui/src/CMIDEnv.cpp	Wed Sep 15 12:05:25 2010 +0300
+++ b/javauis/lcdui_akn/javalcdui/src/CMIDEnv.cpp	Wed Oct 13 14:23:59 2010 +0300
@@ -58,13 +58,7 @@
                                      LcduiMidletAttributeValues::KUIEnhCanvasBackground);
 #ifdef RD_JAVA_NGA_ENABLED
     InitHardwareStatusL();
-
-    iVideoOverlayEnabled = MidletAttributeContainsVal(
-                                    LcduiMidletAttributes::KAttribUIEnhancement,
-                                    LcduiMidletAttributeValues::KUIEnhVideoOverlay);
 #endif // RD_JAVA_NGA_ENABLED
-    
-    iMMAPILock.CreateLocal();
 }
 
 CMIDEnv::~CMIDEnv()
@@ -77,7 +71,6 @@
     delete iKeyTranslator;
     iObservers.Close();
     iCanvasData.iLock.Close();
-    iMMAPILock.Close();
 }
 
 void CMIDEnv::SetUtils(MMIDUtils* aUtils)
@@ -319,16 +312,6 @@
     }
 }
 
-TBool CMIDEnv::VideoOverlayEnabled() const
-{
-    return iVideoOverlayEnabled;
-}
-
-RCriticalSection& CMIDEnv::GetMMAPILock()
-{
-    return iMMAPILock;
-}
-
 #ifdef RD_JAVA_NGA_ENABLED
 void CMIDEnv::HandleFullOrPartialForegroundL(TBool aForeground)
 {