homescreensrv_plat/sapi_homescreenplugin/tsrc/hspsconfigurationif/src/mt_hspsconfigurationif.cpp
branchv5backport
changeset 54 666a2952b5b3
parent 4 1a2a00e78665
equal deleted inserted replaced
53:282cea3dd14c 54:666a2952b5b3
   174 //------------------------------------------------------------------------------
   174 //------------------------------------------------------------------------------
   175 void MT_CHSPSConfigurationIf::ResetClientFolderL()
   175 void MT_CHSPSConfigurationIf::ResetClientFolderL()
   176     {
   176     {
   177     // Remove all resource files from the test client's private folder (files are 
   177     // Remove all resource files from the test client's private folder (files are 
   178     // copied back when an application configuration is fecthed)
   178     // copied back when an application configuration is fecthed)
   179     _LIT( KClientFolder, "c:\\private\\102750f0\\");
   179 	// changed from 0x102750F0 to 0xEDFF45C4 for standalone app
       
   180     _LIT( KClientFolder, "c:\\private\\EDFF45C4\\");
   180     TFileName folderPath;
   181     TFileName folderPath;
   181     folderPath.Copy( KClientFolder );    
   182     folderPath.Copy( KClientFolder );    
   182     if( BaflUtils::FolderExists( iFileserver, folderPath ) )
   183     if( BaflUtils::FolderExists( iFileserver, folderPath ) )
   183         {        
   184         {        
   184         CFileMan* fileMan = CFileMan::NewL( iFileserver );
   185         CFileMan* fileMan = CFileMan::NewL( iFileserver );
   189             {
   190             {
   190             User::LeaveIfError( fileMan->RmDir( folderPath ) );
   191             User::LeaveIfError( fileMan->RmDir( folderPath ) );
   191             }
   192             }
   192         
   193         
   193         folderPath.Copy( KClientFolder );
   194         folderPath.Copy( KClientFolder );
   194         folderPath.Append( _L("271012080\\") );
   195 		// changed from 0x102750F0 = 271012080 to 0xEDFF45C4 = 3992929732 for standalone app
       
   196         folderPath.Append( _L("3992929732\\") );
   195         if( BaflUtils::FolderExists( iFileserver, folderPath ) )
   197         if( BaflUtils::FolderExists( iFileserver, folderPath ) )
   196             {
   198             {
   197             User::LeaveIfError( fileMan->RmDir( folderPath ) );
   199             User::LeaveIfError( fileMan->RmDir( folderPath ) );
   198             }
   200             }
   199         
   201