diff -r d6ba66e59a81 -r 9f5ae1728557 messagingfw/msgcommonutils/src/javaprotectionresolver.cpp --- a/messagingfw/msgcommonutils/src/javaprotectionresolver.cpp Mon May 03 12:58:18 2010 +0300 +++ b/messagingfw/msgcommonutils/src/javaprotectionresolver.cpp Wed Nov 03 09:35:50 2010 +0530 @@ -27,9 +27,7 @@ #include // TDataType #include // RFs, RFile, CFileMan -#include - -#include "JavaProtectionResolver.h" +#include "javaprotectionresolver.h" // EXTERNAL DATA STRUCTURES @@ -41,14 +39,6 @@ // LOCAL CONSTANTS AND MACROS -#if defined (__WINS__) -//_LIT( KFileProtTempDir, "c:\\system\\temp\\fileprot_temp\\"); -_LIT( KFileProtTempDir, "\x43:\\system\\temp\\fileprot_temp\\"); -#else -//_LIT( KFileProtTempDir, "d:\\system\\temp\\fileprot_temp\\"); -_LIT( KFileProtTempDir, "\x44:\\system\\temp\\fileprot_temp\\"); -#endif - // MODULE DATA STRUCTURES // LOCAL FUNCTION PROTOTYPES @@ -92,27 +82,32 @@ // ----------------------------------------------------------------------------- // TBool CJavaProtectionResolver::IsSuperDistributionPackageL( RFile& aFile ) - { - TBool retVal( EFalse ); - - CFileMan* fileMan = CFileMan::NewL( iFs ); - iFs.MkDir( KFileProtTempDir ); + { + /** + * JavaSuperDParser has been removed from 9.2 TB, + * So we will always return EFalse and whole code of function is commented out. + */ +// TBool retVal( EFalse ); +// +// CFileMan* fileMan = CFileMan::NewL( iFs ); +// iFs.MkDir( KFileProtTempDir ); +// +// Java::CJavaSuperDParser* javaParser( NULL ); +// TRAPD( err, javaParser = Java::CJavaSuperDParser::NewL( iFs, +// aFile, +// KFileProtTempDir ) ); +// if ( !err ) +// { +// retVal = ETrue; +// } +// delete javaParser; +// +// /*TInt err =*/ fileMan->Delete( KFileProtTempDir /*, CFileMan::ERecurse*/ ); +// /*TInt err =*/ fileMan->RmDir( KFileProtTempDir ); +// delete fileMan; - Java::CJavaSuperDParser* javaParser( NULL ); - TRAPD( err, javaParser = Java::CJavaSuperDParser::NewL( iFs, - aFile, - KFileProtTempDir ) ); - if ( !err ) - { - retVal = ETrue; - } - delete javaParser; - - /*TInt err =*/ fileMan->Delete( KFileProtTempDir /*, CFileMan::ERecurse*/ ); - /*TInt err =*/ fileMan->RmDir( KFileProtTempDir ); - delete fileMan; - - return retVal; +// return retVal; + return EFalse; } // End of File