equal
deleted
inserted
replaced
737 if ( doConsistency ) |
737 if ( doConsistency ) |
738 { |
738 { |
739 AppArchListConsistency( appArchList, appArchListFlags ); |
739 AppArchListConsistency( appArchList, appArchListFlags ); |
740 } |
740 } |
741 |
741 |
|
742 |
|
743 //Do we need consistency check |
|
744 //Quick hack to see if we need consistency check |
|
745 if(!doConsistency) |
|
746 { |
|
747 AppArchWidgets( appArchList, appArchListFlags ); |
|
748 TInt wrtWidgetCount(0); |
|
749 for(TInt i =0;i<iEntries.Count();i++) |
|
750 { |
|
751 CWidgetEntry* entry = iEntries[i]; |
|
752 if(!TUidAllocator::IsCWRTWidget(TUid::Uid((*entry)[EUid]))) |
|
753 wrtWidgetCount++; |
|
754 } |
|
755 if(appArchList.Count()!=wrtWidgetCount) |
|
756 aParseError = ETrue;//need consistency |
|
757 } |
|
758 |
742 CleanupStack::PopAndDestroy( 2, &appArchList );//appArchListFlags, appArchList |
759 CleanupStack::PopAndDestroy( 2, &appArchList );//appArchListFlags, appArchList |
743 |
760 |
744 aDirtyFlag = dirtyFlag; |
761 aDirtyFlag = dirtyFlag; |
745 // Reset and Destroy entries in iOldEntries array |
762 // Reset and Destroy entries in iOldEntries array |
746 iOldEntries.ResetAndDestroy(); |
763 iOldEntries.ResetAndDestroy(); |