equal
deleted
inserted
replaced
462 void CS60MetaConnectionProvider::StorePolicyNotification( TMpmNotification& aNotification ) |
462 void CS60MetaConnectionProvider::StorePolicyNotification( TMpmNotification& aNotification ) |
463 { |
463 { |
464 // Store PolicyNotification |
464 // Store PolicyNotification |
465 // This could happen if PolicyServer sends notification too early. |
465 // This could happen if PolicyServer sends notification too early. |
466 // |
466 // |
|
467 S60MCPRLOGSTRING1("S60MCPR<%x>::StorePolicyNotification()",(TInt*)this); |
467 if ( iPendingNotification.Length() == 0 ) |
468 if ( iPendingNotification.Length() == 0 ) |
468 { |
469 { |
469 ASSERT(Mem::Copy((TAny*)iPendingNotification.Ptr(), &aNotification, aNotification.Length())); |
470 S60MCPRLOGSTRING1("S60MCPR<%x>::StorePolicyNotification() iPendingNotification.Length() == 0",(TInt*)this); |
470 iPendingNotification.SetLength( aNotification.Length() ); |
471 Mem::Copy((TAny*)iPendingNotification.Ptr(), &aNotification, KMpmMessageLength); |
|
472 S60MCPRLOGSTRING1("S60MCPR<%x>::StorePolicyNotification() Mem::Copy",(TInt*)this); |
|
473 iPendingNotification.SetLength( KMpmMessageLength ); |
|
474 S60MCPRLOGSTRING1("S60MCPR<%x>::StorePolicyNotification() iPendingNotification.SetLength",(TInt*)this); |
471 } |
475 } |
472 #ifdef _DEBUG |
476 #ifdef _DEBUG |
473 else |
477 else |
474 { |
478 { |
475 S60MCPRLOGSTRING2("S60MCPR<%x>::StorePolicyNotification() Notification already exists", |
479 S60MCPRLOGSTRING2("S60MCPR<%x>::StorePolicyNotification() Notification already exists", |