bluetoothengine/btnotif/btnotifsrv/src/btnotifbasepairinghandler.cpp
changeset 47 9e2a905b887f
parent 42 b72428996822
child 57 5ebadcda06cb
equal deleted inserted replaced
45:b0aebde9b1fb 47:9e2a905b887f
   136             iParent.ConnectionTracker().NotificationManager()->GetNotification();
   136             iParent.ConnectionTracker().NotificationManager()->GetNotification();
   137     User::LeaveIfNull( notification ); // For OOM exception, leaves with KErrNoMemory
   137     User::LeaveIfNull( notification ); // For OOM exception, leaves with KErrNoMemory
   138     TBTDialogResourceId resourceId = EPairingSuccess;
   138     TBTDialogResourceId resourceId = EPairingSuccess;
   139     if(KErrNone != aResult)
   139     if(KErrNone != aResult)
   140         {
   140         {
   141         resourceId = EPairingFailure;
   141         resourceId = EPairingFailureOk;
   142         }
   142         }
   143     notification->SetNotificationType( TBluetoothDialogParams::ENote, resourceId );
   143     notification->SetNotificationType( TBluetoothDialogParams::ENote, resourceId );
   144     const CBtDevExtension* dev = iParent.BTDevRepository().Device(iAddr);
   144     const CBtDevExtension* dev = iParent.BTDevRepository().Device(iAddr);
   145     if(dev)
   145     if(dev)
   146         {
   146         {