htiui/HtiServicePlugins/HtiAppServicePlugin/src/HtiAppControl.cpp
changeset 11 4df3a095718c
parent 10 e6e3e87d58b4
child 17 4f2773374eff
--- a/htiui/HtiServicePlugins/HtiAppServicePlugin/src/HtiAppControl.cpp	Fri Mar 19 09:29:26 2010 +0200
+++ b/htiui/HtiServicePlugins/HtiAppServicePlugin/src/HtiAppControl.cpp	Fri Apr 16 14:59:17 2010 +0300
@@ -34,14 +34,10 @@
 #include <SWInstApi.h>
 #include <swi/sisregistrysession.h>
 #include <swi/sisregistrypackage.h>
-#if ( SYMBIAN_VERSION_SUPPORT < SYMBIAN_4 )
-    #include <javaregistryincludes.h>
-#endif
+#include <javaregistryincludes.h>
 #include <WidgetRegistryClient.h>
 
-#if ( SYMBIAN_VERSION_SUPPORT < SYMBIAN_4 )
-    using namespace Java;
-#endif
+using namespace Java;
 
 // CONSTANTS
 const static TUid KAppServiceUid = { 0x1020DEC7 }; //This is Uid of AppServiceOS
@@ -1638,7 +1634,6 @@
 
     else if ( aMimeIndex > 2 && aMimeIndex < 7 ) // Java
         {
-        #if ( SYMBIAN_VERSION_SUPPORT < SYMBIAN_4 )
             RArray<TUid> uids;
             CleanupClosePushL( uids );
 
@@ -1675,9 +1670,6 @@
             CleanupStack::PopAndDestroy( &uids );
             User::LeaveIfError( uid );
             return uid;
-        #else
-            User::Leave( KErrNotSupported );
-        #endif
         }
 
     else if ( aMimeIndex == 7 ) // Widget