2753 ( fwVersion.Length() == 0 ) ) |
2753 ( fwVersion.Length() == 0 ) ) |
2754 { |
2754 { |
2755 // Install widgets from \private\200159C0\install\ directories (ROM and UDA image) |
2755 // Install widgets from \private\200159C0\install\ directories (ROM and UDA image) |
2756 InstallWidgetsL(); |
2756 InstallWidgetsL(); |
2757 |
2757 |
2758 // Install widgets from \private\200159C0\imports\ directory (UDA image) C & E |
2758 // Install widgets from \private\200159C0\imports\ directory |
|
2759 //from c (UDA image) and from emmc |
2759 InstallUDAWidgetsL( KImportDirectoryC ); |
2760 InstallUDAWidgetsL( KImportDirectoryC ); |
2760 InstallUDAWidgetsL( KImportDirectoryE ); |
2761 |
2761 |
2762 TInt drive = hspsServerUtil::GetEmmcDrivePath( iFsSession ); |
|
2763 if ( drive != KErrNotFound ) |
|
2764 { |
|
2765 TDriveUnit unit(drive); |
|
2766 HBufC* importDirectoryE = HBufC::NewLC( |
|
2767 KImportDirectory().Length() + unit.Name().Length() ); |
|
2768 |
|
2769 importDirectoryE->Des().Append( unit.Name() ); |
|
2770 importDirectoryE->Des().Append( KImportDirectory ); |
|
2771 |
|
2772 InstallUDAWidgetsL( *importDirectoryE ); |
|
2773 CleanupStack::PopAndDestroy( importDirectoryE ); |
|
2774 } |
|
2775 |
2762 // Post RFS installations have been done, prevent re-installations at next startup |
2776 // Post RFS installations have been done, prevent re-installations at next startup |
2763 // by reading firmware version and saving it to cenrep. |
2777 // by reading firmware version and saving it to cenrep. |
2764 GetFWVersion( fwVersion ); |
2778 GetFWVersion( fwVersion ); |
2765 |
2779 |
2766 errorCode = iCentralRepository->Set( key, fwVersion ); |
2780 errorCode = iCentralRepository->Set( key, fwVersion ); |