equal
deleted
inserted
replaced
580 iUiState = EInitialize; |
580 iUiState = EInitialize; |
581 iCurrent = 0; |
581 iCurrent = 0; |
582 iFilesToCopyCurrent = 0; |
582 iFilesToCopyCurrent = 0; |
583 iFilesToCopy.ResetAndDestroy(); |
583 iFilesToCopy.ResetAndDestroy(); |
584 iApparcRegFiles.ResetAndDestroy(); |
584 iApparcRegFiles.ResetAndDestroy(); |
|
585 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
|
586 iApparcRegFilesForParsing.ResetAndDestroy(); |
|
587 iApparcRegFileData.ResetAndDestroy(); |
|
588 #endif |
585 return ETrue; |
589 return ETrue; |
586 } |
590 } |
587 |
591 |
588 TBool CInstallationProcessor::DoStateProcessEmbeddedL() |
592 TBool CInstallationProcessor::DoStateProcessEmbeddedL() |
589 { |
593 { |
993 { |
997 { |
994 // destroy the memory heavy file copy descriptions |
998 // destroy the memory heavy file copy descriptions |
995 iFilesToCopy.ResetAndDestroy(); |
999 iFilesToCopy.ResetAndDestroy(); |
996 |
1000 |
997 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
1001 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
998 |
|
999 RArray<TAppUpdateInfo> affectedApps; |
1002 RArray<TAppUpdateInfo> affectedApps; |
1000 CleanupClosePushL(affectedApps); |
1003 CleanupClosePushL(affectedApps); |
1001 const CApplication& application = ApplicationL(); |
1004 const CApplication& application = ApplicationL(); |
1002 //if there are reg files in the package or if its an upgrade (in case of SA (with app) over SA(with no app)) |
1005 //if there are reg files in the package or if its an upgrade (in case of SA (with app) over SA(with no app)) |
1003 if(iApparcRegFilesForParsing.Count() != 0 || application.IsUpgrade()) |
1006 if(iApparcRegFilesForParsing.Count() != 0 || application.IsUpgrade()) |
1272 for(TInt i = 0; i < affectedApps.Count(); i++) |
1275 for(TInt i = 0; i < affectedApps.Count(); i++) |
1273 { |
1276 { |
1274 DEBUG_PRINTF2(_L("AppUid is 0x%x"), affectedApps[i].iAppUid); |
1277 DEBUG_PRINTF2(_L("AppUid is 0x%x"), affectedApps[i].iAppUid); |
1275 DEBUG_PRINTF2(_L("Action is %d"), affectedApps[i].iAction); |
1278 DEBUG_PRINTF2(_L("Action is %d"), affectedApps[i].iAction); |
1276 } |
1279 } |
1277 const_cast<CPlan&>(Plan()).ResetAffectedApps(); |
1280 //const_cast<CPlan&>(Plan()).ResetAffectedApps(); |
1278 const_cast<CPlan&>(Plan()).SetAffectedApps(affectedApps); |
1281 const_cast<CPlan&>(Plan()).SetAffectedApps(affectedApps); |
1279 |
1282 |
1280 CleanupStack::PopAndDestroy(2, &componentIds); |
1283 CleanupStack::PopAndDestroy(2, &componentIds); |
1281 } |
1284 } |
1282 CleanupStack::PopAndDestroy(&affectedApps); |
1285 CleanupStack::PopAndDestroy(&affectedApps); |