equal
deleted
inserted
replaced
29 #include "vmbxutilities.h" |
29 #include "vmbxutilities.h" |
30 #include "vmbxcenrephandler.h" |
30 #include "vmbxcenrephandler.h" |
31 #include "voicemailboximpl.h" |
31 #include "voicemailboximpl.h" |
32 |
32 |
33 // phone application uid |
33 // phone application uid |
34 const TInt KPhoneApplicationUid = 0x100058B3; |
34 // In TB9.2 phone application use 0x100058B3 |
|
35 // In TB10.1 we get this value 101F4CD5 by testing. |
|
36 // So use the value by testing |
|
37 const TUint KPhoneApplicationUid = 0x101F4CD5; |
35 |
38 |
36 // ============================ MEMBER FUNCTIONS ============================= |
39 // ============================ MEMBER FUNCTIONS ============================= |
37 |
40 |
38 // --------------------------------------------------------------------------- |
41 // --------------------------------------------------------------------------- |
39 // CVoiceMailboxImpl::NewL |
42 // CVoiceMailboxImpl::NewL |
881 // |
884 // |
882 void CVoiceMailboxImpl::CheckNumberProvisionedL( |
885 void CVoiceMailboxImpl::CheckNumberProvisionedL( |
883 const TVoiceMailboxParams& aParams ) |
886 const TVoiceMailboxParams& aParams ) |
884 { |
887 { |
885 VMBLOGSTRING( "VMBX: CVoiceMailboxImpl::CheckNumberProvisionedL =>" ); |
888 VMBLOGSTRING( "VMBX: CVoiceMailboxImpl::CheckNumberProvisionedL =>" ); |
886 if ( ( EVmbxVoice == aParams.iType |
889 if ( ( EVmbxVoice == aParams.iType ) |
887 && EVmbxSimMemory == iCenRepHandler->StoreType() ) |
|
888 || ( EVmbxVideo == aParams.iType ) ) |
890 || ( EVmbxVideo == aParams.iType ) ) |
889 { |
891 { |
890 // get current active process |
892 // get current active process |
891 RProcess curProcess; |
893 RProcess curProcess; |
892 TInt curProcessId( curProcess.SecureId().iId ); |
894 TUint curProcessId( curProcess.SecureId().iId ); |
893 VMBLOGSTRING2( "VMBX: CVoiceMailboxImpl::CheckNumberProvisionedL \ |
895 VMBLOGSTRING2( "VMBX: CVoiceMailboxImpl::CheckNumberProvisionedL \ |
894 Get cur process id: curProcessId = %I", curProcessId ); |
896 Get cur process id: curProcessId = %I", curProcessId ); |
895 // User press 1+send key or long press 1 |
897 // User press 1+send key or long press 1 |
896 if ( KPhoneApplicationUid == curProcessId ) |
898 if ( KPhoneApplicationUid == curProcessId ) |
897 { |
899 { |