equal
deleted
inserted
replaced
49 // CMPMConnMonEvents::CMPMConnMonEvents |
49 // CMPMConnMonEvents::CMPMConnMonEvents |
50 // ----------------------------------------------------------------------------- |
50 // ----------------------------------------------------------------------------- |
51 // |
51 // |
52 CMPMConnMonEvents::CMPMConnMonEvents( CMPMServer& aServer ) |
52 CMPMConnMonEvents::CMPMConnMonEvents( CMPMServer& aServer ) |
53 : iMyServer( aServer ), |
53 : iMyServer( aServer ), |
54 iDiscardAvailabilityNotification( EFalse ) |
54 iDiscardAvailabilityNotification( EFalse ), |
|
55 iAvailabilityNotificationDiscarded( EFalse ) |
55 { |
56 { |
56 } |
57 } |
57 |
58 |
58 |
59 |
59 // ----------------------------------------------------------------------------- |
60 // ----------------------------------------------------------------------------- |
464 void CMPMConnMonEvents::IapAvailabilityChange( const TPrefIAPNotifCaller aCaller ) |
465 void CMPMConnMonEvents::IapAvailabilityChange( const TPrefIAPNotifCaller aCaller ) |
465 { |
466 { |
466 if ( ( iAvailableIAPs.Count() > 0 ) && |
467 if ( ( iAvailableIAPs.Count() > 0 ) && |
467 !DiscardAvailabilityNotification() ) |
468 !DiscardAvailabilityNotification() ) |
468 { |
469 { |
|
470 iAvailabilityNotificationDiscarded = EFalse; |
469 // Remove temporary blacklistings as fresh availability |
471 // Remove temporary blacklistings as fresh availability |
470 // info is available. |
472 // info is available. |
471 // |
473 // |
472 iMyServer.HandleServerUnblackListIap( ETemporary ); |
474 iMyServer.HandleServerUnblackListIap( ETemporary ); |
473 |
475 |
477 // |
479 // |
478 TRAP_IGNORE( iMyServer.NotifyBMPrefIapL( iAvailableIAPs, aCaller ) ) |
480 TRAP_IGNORE( iMyServer.NotifyBMPrefIapL( iAvailableIAPs, aCaller ) ) |
479 } |
481 } |
480 else |
482 else |
481 { |
483 { |
|
484 iAvailabilityNotificationDiscarded = ETrue; |
482 MPMLOGSTRING2( "CMPMConnMonEvents::EventL - IAPs count: %d", |
485 MPMLOGSTRING2( "CMPMConnMonEvents::EventL - IAPs count: %d", |
483 iAvailableIAPs.Count() ) |
486 iAvailableIAPs.Count() ) |
484 MPMLOGSTRING2( |
487 MPMLOGSTRING2( |
485 "CMPMConnMonEvents::EventL - DiscardAvailabilityNotification = %d", |
488 "CMPMConnMonEvents::EventL - DiscardAvailabilityNotification = %d", |
486 DiscardAvailabilityNotification() ) |
489 DiscardAvailabilityNotification() ) |