equal
deleted
inserted
replaced
533 // |
533 // |
534 TInt CGSCamcorderPlugin::IntegerSettingValue( const TInt aSettingItem ) |
534 TInt CGSCamcorderPlugin::IntegerSettingValue( const TInt aSettingItem ) |
535 { |
535 { |
536 if ( LaunchedFromGS() ) |
536 if ( LaunchedFromGS() ) |
537 { |
537 { |
538 return iSettingsModel->IntegerSettingValue( aSettingItem ); |
538 TInt settingValue = iSettingsModel->IntegerSettingValue( aSettingItem ); |
|
539 |
|
540 if ( ( ECamSettingItemPhotoMediaStorage == aSettingItem || |
|
541 ECamSettingItemVideoMediaStorage == aSettingItem ) && |
|
542 ( settingValue == ECamMediaStorageCard ) && |
|
543 ( CamUtility::MemoryCardStatus() != ECamMemoryCardInserted ) ) |
|
544 { |
|
545 if ( CamUtility::MassMemoryDrive() > 0 ) |
|
546 { |
|
547 settingValue = ECamMediaStorageMassStorage; |
|
548 } |
|
549 else |
|
550 { |
|
551 settingValue = ECamMediaStoragePhone; |
|
552 } |
|
553 } |
|
554 return settingValue; |
539 } |
555 } |
540 else |
556 else |
541 { |
557 { |
542 CCamAppUiBase* appUi = static_cast<CCamAppUiBase*>( CCoeEnv::Static()->AppUi() ); |
558 CCamAppUiBase* appUi = static_cast<CCamAppUiBase*>( CCoeEnv::Static()->AppUi() ); |
543 MCamAppController& controller = appUi->AppController(); |
559 MCamAppController& controller = appUi->AppController(); |