equal
deleted
inserted
replaced
371 // ----------------------------------------------------------------------------- |
371 // ----------------------------------------------------------------------------- |
372 TBool CBavpPlugin::HandleGesture(void* aEvent) |
372 TBool CBavpPlugin::HandleGesture(void* aEvent) |
373 { |
373 { |
374 TBool ret = EFalse; |
374 TBool ret = EFalse; |
375 TGestureEvent *gesture = static_cast<TGestureEvent*>(aEvent); |
375 TGestureEvent *gesture = static_cast<TGestureEvent*>(aEvent); |
376 ret = iBavpController->HandleGesture(gesture); |
376 // Fix crash when iBavpController is null for bug EGUY-7TYHDC |
|
377 if (iBavpController) { |
|
378 ret = iBavpController->HandleGesture(gesture); |
|
379 } |
377 |
380 |
378 return ret; |
381 return ret; |
379 } |
382 } |
380 |
383 |
381 // ----------------------------------------------------------------------------- |
384 // ----------------------------------------------------------------------------- |