# HG changeset patch # User Dremov Kirill (Nokia-D-MSW/Tampere) # Date 1270064078 -10800 # Node ID a19c8664496d9debb51fb1ec1280d24fc99cdc9a # Parent 1b9ee3c7442d47e38dc212fe97fde87d05bab8c0 Revision: 201011 Kit: 201013 diff -r 1b9ee3c7442d -r a19c8664496d cellular/SSSettings/group/bld.inf --- a/cellular/SSSettings/group/bld.inf Mon Mar 15 12:42:43 2010 +0200 +++ b/cellular/SSSettings/group/bld.inf Wed Mar 31 22:34:38 2010 +0300 @@ -24,7 +24,7 @@ PRJ_EXPORTS ../inc/CSSSettingsRefreshContainer.h |../../../inc/csssettingsrefreshcontainer.h -../inc/MSSSettingsRefreshHandler.h |../../../inc/msssettingsrefreshhandler.h +../inc/MSSSettingsRefreshHandler.h |../../../inc/MSSSettingsRefreshHandler.h ../group/SSSettings_stub.SIS /epoc32/data/z/system/install/sssettings_stub.sis diff -r 1b9ee3c7442d -r a19c8664496d cellular/telephonysettings/src/PSetRefreshHandlerImpl.cpp --- a/cellular/telephonysettings/src/PSetRefreshHandlerImpl.cpp Mon Mar 15 12:42:43 2010 +0200 +++ b/cellular/telephonysettings/src/PSetRefreshHandlerImpl.cpp Wed Mar 31 22:34:38 2010 +0300 @@ -20,7 +20,7 @@ // INCLUDE FILES #include "PSetRefreshHandlerImpl.h" #include -#include +#include #include #include #include "PhoneSettingsLogger.h" diff -r 1b9ee3c7442d -r a19c8664496d engines/vmbxengine/src/vmnumber.cpp --- a/engines/vmbxengine/src/vmnumber.cpp Mon Mar 15 12:42:43 2010 +0200 +++ b/engines/vmbxengine/src/vmnumber.cpp Wed Mar 31 22:34:38 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -171,7 +171,6 @@ iSynchronize( EFalse ), iType( EVmbxNone ), iVMSimQueryDialog( NULL ), - iUSimSupport( EFalse ), iVideoQuery( NULL ), iTypeSelectionQuery( NULL ), iAlphaStringFound( EFalse ), @@ -392,10 +391,9 @@ TInt nValue; psErr = property.Get( nValue ); TBool simStatus = EFalse; - iUSimSupport = IsUsimSupport(); - VMBLOGSTRING2( "iUSimSupport = %d", iUSimSupport ); - // Sim aceess test on startup - iStartUpTest = ETrue; + + // Sim aceess test on startup + iStartUpTest = ETrue; #ifdef RD_STARTUP_CHANGE if ( ( FeatureManager::FeatureSupported( KFeatureIdSimCard ) ) @@ -412,86 +410,31 @@ simStatus = ETrue; } #endif // RD_STARTUP_CHANGE - if ( FeatureManager::FeatureSupported( KFeatureIdProtocolWcdma ) ) - { - if ( iUSimSupport ) - { - simStatus = ETrue; - } - } VMBLOGSTRING2( "simStatus = %d", simStatus ); if ( simStatus )//Is simCard supproted and it is not removed { iSimCardFound = ETrue; - // If UICC supported, then open USIM phone book. - if ( iUSimSupport ) + + // Get identifiers from MBI-file + if ( EAlsLine1 == alsline ) { - iMbdnPhonebookOk = EFalse; - // Get identifiers from MBI-file - if ( EAlsLine1 == alsline ) + result = MailboxNumbersIdentifiers(); + VMBLOGSTRING2( "Identifier result = %d", result ); + if ( KErrPathNotFound == result ) { - result = MailboxNumbersIdentifiers(); - VMBLOGSTRING2( "Identifier result = %d", result ); - if ( KErrPathNotFound == result ) - { - // try open vmbx-phonebook next - iPhoneBookType = EVMBXPhoneBook; - } - else + // try open vmbx-phonebook next + iPhoneBookType = EVMBXPhoneBook; + } + else + { + iPhoneBookType = EMBDNPhoneBook; + // set ALS line, if identifier reading returns -1 + if ( KErrNotFound == result ) { - iPhoneBookType = EMBDNPhoneBook; - // set ALS line, if identifier reading returns -1 - if ( KErrNotFound == result ) - { - iPhoneVoicemailInfo.iVoice = alsline; - } - - // try to open mbdn-type phonebook - result = iPhoneBook.Open( iPhone, KETelIccMbdnPhoneBook ); - VMBLOGSTRING2( "Mbdn phonebook opening result = %I ", result ); - if ( KErrNone == result ) - { - // Get phonebook info - result = PhoneBookInfo(); - } - // close phonebook when error in opening or GetInfo - if ( KErrNone != result ) - { - VMBLOGSTRING( "Close MBDN phonebook" ); - iPhoneBook.Close(); - } - // close phonebook when no number founf to test vmbx-phonebook - else if ( ( KErrNone == result ) && iNoNumberFound ) - { - VMBLOGSTRING( "mbdn close, number not found" ); - iMbdnPhonebookOk = ETrue; - iPhoneBook.Close(); - // try open vmbx-phonebook next - iPhoneBookType = EVMBXPhoneBook; - } + iPhoneVoicemailInfo.iVoice = alsline; } - } - - if ( EAlsLine2 == alsline || EVMBXPhoneBook == iPhoneBookType ) - { - // try to open vmbx-type phonebook - result = iPhoneBook.Open( iPhone, KETelIccVoiceMailBox ); - VMBLOGSTRING2( "Vmbx phonebook opening result = %I ", result ); - if ( KErrNone == result ) - { - // check that this phonebook supports reading - result = PhoneBookInfo(); - VMBLOGSTRING( "VmbxPhoneBook opened" ); - } - } - // reopen mbdn-phonebook when vmbx-phonebook has no number - if ( iMbdnPhonebookOk && iNoNumberFound ) - { - VMBLOGSTRING( "reopen mbdn" ); - iPhoneBook.Close(); - // try open vmbx-phonebook next - iPhoneBookType = EMBDNPhoneBook; + // try to open mbdn-type phonebook result = iPhoneBook.Open( iPhone, KETelIccMbdnPhoneBook ); VMBLOGSTRING2( "Mbdn phonebook opening result = %I ", result ); @@ -499,6 +442,8 @@ { // Get phonebook info result = PhoneBookInfo(); + VMBLOGSTRING2( "Mbdn phonebook opening again \ + result = %I ", result ); } // close phonebook when error in opening or GetInfo if ( KErrNone != result ) @@ -506,22 +451,53 @@ VMBLOGSTRING( "Close MBDN phonebook" ); iPhoneBook.Close(); } + // close phonebook when no number founf to test vmbx-phonebook + else if ( ( KErrNone == result ) && iNoNumberFound ) + { + VMBLOGSTRING( "mbdn close, number not found" ); + iMbdnPhonebookOk = ETrue; + iPhoneBook.Close(); + // try open vmbx-phonebook next + iPhoneBookType = EVMBXPhoneBook; + } + } + } + + if ( EAlsLine2 == alsline || EVMBXPhoneBook == iPhoneBookType ) + { + // try to open vmbx-type phonebook + result = iPhoneBook.Open( iPhone, KETelIccVoiceMailBox ); + VMBLOGSTRING2( "Vmbx phonebook opening result = %I ", result ); + if ( KErrNone == result ) + { + // check that this phonebook supports reading + result = PhoneBookInfo(); + VMBLOGSTRING( "VmbxPhoneBook opened" ); } } - // open SIM book - else - { - // No need to prevent for changing memory location - iUSimFirstRoundTest = EFalse; - result = iPhoneBook.Open( iPhone, KETelIccVoiceMailBox ); - iPhoneBookType = EVMBXPhoneBook; - VMBLOGSTRING( "VmbxPhoneBook opened" ); - - if ( KErrNone == result ) - { - result = PhoneBookInfo(); - } - } + // reopen mbdn-phonebook when vmbx-phonebook has no number + if ( iMbdnPhonebookOk && iNoNumberFound ) + { + VMBLOGSTRING( "reopen mbdn" ); + iPhoneBook.Close(); + // try open vmbx-phonebook next + iPhoneBookType = EMBDNPhoneBook; + // try to open mbdn-type phonebook + result = iPhoneBook.Open( iPhone, KETelIccMbdnPhoneBook ); + VMBLOGSTRING2( "Mbdn phonebook opening result = %I ", result ); + if ( KErrNone == result ) + { + // Get phonebook info + result = PhoneBookInfo(); + } + // close phonebook when error in opening or GetInfo + if ( KErrNone != result ) + { + VMBLOGSTRING( "Close MBDN phonebook" ); + iPhoneBook.Close(); + } + } + // set readonly state if aquired if ( IsReadOnlySIM() ) @@ -3460,41 +3436,6 @@ // ----------------------------------------------------------------------------- // RVmbxNumber::IsUsimSupport // ----------------------------------------------------------------------------- -TBool RVmbxNumber::IsUsimSupport() - { - VMBLOGSTRING( "VMBX: RVmbxNumber::IsUsimSupport: =>" ); - TBool ret( EFalse ); - TInt alsline( EAlsLine1 ); - - // get the current ALS line - if ( GetAlsLine( alsline ) != KErrNone ) - { - alsline = EAlsLine1; // if problems, assume primary line - } - - // SIM access not supported for ALS line2 - if ( FeatureManager::FeatureSupported( KFeatureIdProtocolWcdma ) && - ( alsline == EAlsLine1 ) ) - { - TUint32 capability; - TInt err = iPhone.GetIccAccessCaps( capability ); - VMBLOGSTRING3( "VMBX: RVmbxNumber::IsUsimSupport: Err = %I,\ - Capa = %I ", err, capability ); - - if ( ( err == KErrNone ) && - ( capability & RMobilePhone::KCapsUSimAccessSupported ) ) - { - VMBLOGSTRING( "USim access caps ok"); - ret = ETrue; - } - } - else - { - ret = EFalse; - } - VMBLOGSTRING( "VMBX: RVmbxNumber::IsUsimSupport: <=" ); - return ret; - } // ----------------------------------------------------------------------------- // Series 60 Customer / MSatRefreshOserver diff -r 1b9ee3c7442d -r a19c8664496d nwnotifier/group/nwnotifier.mmp --- a/nwnotifier/group/nwnotifier.mmp Mon Mar 15 12:42:43 2010 +0200 +++ b/nwnotifier/group/nwnotifier.mmp Wed Mar 31 22:34:38 2010 +0300 @@ -15,6 +15,7 @@ * */ +#include #include MW_LAYER_SYSTEMINCLUDE diff -r 1b9ee3c7442d -r a19c8664496d nwnotifier/inc/networknotifiernotewrapper.h --- a/nwnotifier/inc/networknotifiernotewrapper.h Mon Mar 15 12:42:43 2010 +0200 +++ b/nwnotifier/inc/networknotifiernotewrapper.h Wed Mar 31 22:34:38 2010 +0300 @@ -30,7 +30,7 @@ // CONSTANTS -_LIT( KResFile, "\\resource\\NWNotifier_0x20026826.rsc" ); +_LIT( KResFile, "\\resource\\apps\\NWNotifier_0x20026826.rsc" ); // OBSERVER DECLARATION diff -r 1b9ee3c7442d -r a19c8664496d nwnotifier/rom/nwnotifierresources.iby --- a/nwnotifier/rom/nwnotifierresources.iby Mon Mar 15 12:42:43 2010 +0200 +++ b/nwnotifier/rom/nwnotifierresources.iby Wed Mar 31 22:34:38 2010 +0300 @@ -18,7 +18,9 @@ #ifndef NWNOTIFIERRESOURCES_IBY #define NWNOTIFIERRESOURCES_IBY -data = DATAZ_\RESOURCE_FILES_DIR\NWNotifier_0x20026826.rsc RESOURCE_FILES_DIR\NWNotifier_0x20026826.rsc +#include + +data = DATAZ_\APP_RESOURCE_DIR\NWNotifier_0x20026826.rsc APP_RESOURCE_DIR\NWNotifier_0x20026826.rsc #endif // NWNOTIFIERRESOURCES_IBY diff -r 1b9ee3c7442d -r a19c8664496d package_definition.xml --- a/package_definition.xml Mon Mar 15 12:42:43 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,121 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r 1b9ee3c7442d -r a19c8664496d phonesrv_plat/voice_mailbox_number_api/inc/vmnumber.h --- a/phonesrv_plat/voice_mailbox_number_api/inc/vmnumber.h Mon Mar 15 12:42:43 2010 +0200 +++ b/phonesrv_plat/voice_mailbox_number_api/inc/vmnumber.h Wed Mar 31 22:34:38 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -1018,12 +1018,6 @@ * @param aDlg Query dialog */ void SetHeaderFromResourceL( TInt aResourceId, CAknQueryDialog& aDlg ); - /** - * Checks whether there is support for USIM(WCDMA) - * @since - * @return ETrue if USim is used - */ - TBool IsUsimSupport(); /** * Subscribe SAT notifications @@ -1333,9 +1327,6 @@ // Sim query dialog CVMSimQueryDilaog* iVMSimQueryDialog; - // USim supported when true - TBool iUSimSupport; - // Text query dialog CVmTextQueryDialog* iVideoQuery; // owned diff -r 1b9ee3c7442d -r a19c8664496d satengine/SatServer/Commands/SendSSCmd/src/CSendSsHandler.cpp --- a/satengine/SatServer/Commands/SendSSCmd/src/CSendSsHandler.cpp Mon Mar 15 12:42:43 2010 +0200 +++ b/satengine/SatServer/Commands/SendSSCmd/src/CSendSsHandler.cpp Wed Mar 31 22:34:38 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -53,7 +53,7 @@ const TInt KSsOperationShowFDNLIst = 0x05; const TInt KSsOperationPasswordRegistration = 0x06; // Ss error -const TInt KSsSimAtkCcRejected = 0x0D; +const TInt KSsSimAtkCcRejected = 0x13; const TInt KTwo = 2; // ======== MEMBER FUNCTIONS ======== diff -r 1b9ee3c7442d -r a19c8664496d satengine/SatServer/Commands/SendUSSDCmd/src/CSendUssdHandler.cpp --- a/satengine/SatServer/Commands/SendUSSDCmd/src/CSendUssdHandler.cpp Mon Mar 15 12:42:43 2010 +0200 +++ b/satengine/SatServer/Commands/SendUSSDCmd/src/CSendUssdHandler.cpp Wed Mar 31 22:34:38 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -739,6 +739,16 @@ iSendUssdRsp.iAdditionalInfo.SetLength( 1 ); iSendUssdRsp.iAdditionalInfo[0] = RSat::KNoSpecificMeProblem; } + else if ( KErrSatBusy == aError ) + { + LOG( SIMPLE, + "SENDUSSD: CSendUssdHandler::HandleSendUssdResult \ + KInteractionWithCCTemporaryError" ) + iSendUssdRsp.iGeneralResult = RSat::KInteractionWithCCTemporaryError; + iSendUssdRsp.iInfoType = RSat::KNoAdditionalInfo; + iSendUssdRsp.iAdditionalInfo.SetLength( 0 ); + iSendUssdRsp.iAdditionalInfo.Zero(); + } else if ( KErrNone == aError ) // Success case { LOG( SIMPLE, diff -r 1b9ee3c7442d -r a19c8664496d satengine/SatServer/Engine/src/csatmediatoreventprovider.cpp --- a/satengine/SatServer/Engine/src/csatmediatoreventprovider.cpp Mon Mar 15 12:42:43 2010 +0200 +++ b/satengine/SatServer/Engine/src/csatmediatoreventprovider.cpp Wed Mar 31 22:34:38 2010 +0300 @@ -21,7 +21,7 @@ #include #include #include -#include +#include #include "SATPrivateCRKeys.h" #include "csatmediatoreventprovider.h" diff -r 1b9ee3c7442d -r a19c8664496d satengine/SatServer/inc/CSatCommandHandler.h --- a/satengine/SatServer/inc/CSatCommandHandler.h Mon Mar 15 12:42:43 2010 +0200 +++ b/satengine/SatServer/inc/CSatCommandHandler.h Wed Mar 31 22:34:38 2010 +0300 @@ -23,7 +23,7 @@ // INCLUDES #include #include -#include +#include #include "MSatUtils.h" #include "MSatEventObserver.h" #include "MSatCommand.h"