equal
deleted
inserted
replaced
22 #include <swi/sisregistryentry.h> |
22 #include <swi/sisregistryentry.h> |
23 #include <swi/sisregistrypackage.h> |
23 #include <swi/sisregistrypackage.h> |
24 #include <swi/sisregistrysession.h> |
24 #include <swi/sisregistrysession.h> |
25 #include <SWInstDefs.h> |
25 #include <SWInstDefs.h> |
26 #include <mmf/common/mmfcontrollerpluginresolver.h> |
26 #include <mmf/common/mmfcontrollerpluginresolver.h> |
27 // #include <javaregistry.h> // All dependencies to APP layer must be reoved |
27 #include <javaregistry.h> |
28 |
28 |
29 //using namespace Java; |
29 using namespace Java; |
30 |
30 |
31 #include "debug.h" |
31 #include "debug.h" |
32 #include "sconinstaller.h" |
32 #include "sconinstaller.h" |
33 #include "sconpcdconsts.h" |
33 #include "sconpcdconsts.h" |
34 #include "sconpcdutility.h" |
34 #include "sconpcdutility.h" |
441 // ----------------------------------------------------------------------------- |
441 // ----------------------------------------------------------------------------- |
442 // CSConAppInstaller::UninstallJavaL( const TUid& aUid, const TSConInstallMode aMode ) |
442 // CSConAppInstaller::UninstallJavaL( const TUid& aUid, const TSConInstallMode aMode ) |
443 // Uninstall java package |
443 // Uninstall java package |
444 // ----------------------------------------------------------------------------- |
444 // ----------------------------------------------------------------------------- |
445 // |
445 // |
446 void CSConAppInstaller::UninstallJavaL( const TUid& /*aUid*/, const TSConInstallMode /*aMode*/ ) |
446 void CSConAppInstaller::UninstallJavaL( const TUid& aUid, const TSConInstallMode aMode ) |
447 { |
447 { |
448 TRACE_FUNC_ENTRY; |
448 TRACE_FUNC_ENTRY; |
449 // Removed Java related functionality as it was on APP layer |
|
450 User::Leave( KErrNotSupported ); |
|
451 /* |
|
452 CJavaRegistry* javaRegistry = CJavaRegistry::NewLC( ); |
449 CJavaRegistry* javaRegistry = CJavaRegistry::NewLC( ); |
453 TBool entryExist = javaRegistry->RegistryEntryExistsL( aUid ); |
450 TBool entryExist = javaRegistry->RegistryEntryExistsL( aUid ); |
454 CleanupStack::PopAndDestroy( javaRegistry ); |
451 CleanupStack::PopAndDestroy( javaRegistry ); |
455 |
452 |
456 if( entryExist ) |
453 if( entryExist ) |
472 else |
469 else |
473 { |
470 { |
474 LOGGER_WRITE( "CSConAppInstaller::UninstallJavaL java entry does not exist -> Leave" ) |
471 LOGGER_WRITE( "CSConAppInstaller::UninstallJavaL java entry does not exist -> Leave" ) |
475 User::Leave( KErrNotFound ); |
472 User::Leave( KErrNotFound ); |
476 } |
473 } |
477 */ |
|
478 TRACE_FUNC_EXIT; |
474 TRACE_FUNC_EXIT; |
479 } |
475 } |
480 |
476 |
481 // ----------------------------------------------------------------------------- |
477 // ----------------------------------------------------------------------------- |
482 // CSConAppInstaller::UninstallWidget( const TUid& aUid, const TSConInstallMode aMode ) |
478 // CSConAppInstaller::UninstallWidget( const TUid& aUid, const TSConInstallMode aMode ) |