equal
deleted
inserted
replaced
579 { |
579 { |
580 iPrivateFlags &= (~EAknBatteryPaneButton1DownInBatteryRect); |
580 iPrivateFlags &= (~EAknBatteryPaneButton1DownInBatteryRect); |
581 return; |
581 return; |
582 } |
582 } |
583 |
583 |
|
584 CEikStatusPaneBase* sp = CEikStatusPaneBase::Current(); |
|
585 if( sp ) |
|
586 { |
|
587 TInt statusPaneCurrentLayoutResourceId = sp->CurrentLayoutResId(); |
|
588 if(statusPaneCurrentLayoutResourceId == R_AVKON_STATUS_PANE_LAYOUT_POWER_OFF_RECHARGE |
|
589 || statusPaneCurrentLayoutResourceId == R_AVKON_STATUS_PANE_LAYOUT_POWER_OFF_RECHARGE_MIRRORED) |
|
590 { |
|
591 MTouchFeedback* feedback = MTouchFeedback::Instance(); |
|
592 if ( feedback ) |
|
593 { |
|
594 feedback->RemoveFeedbackForControl( this ); |
|
595 } |
|
596 |
|
597 AknsUtils::DeregisterControlPosition( this ); |
|
598 return; |
|
599 } |
|
600 } |
584 // Get the rect of battery pane. |
601 // Get the rect of battery pane. |
585 TRect rect( Rect() ); |
602 TRect rect( Rect() ); |
586 |
603 |
587 // Switch by type |
604 // Switch by type |
588 switch ( aPointerEvent.iType ) |
605 switch ( aPointerEvent.iType ) |
609 // area from which the universal indicator popup should |
626 // area from which the universal indicator popup should |
610 // open on tap, so upon pointer up event it must be checked |
627 // open on tap, so upon pointer up event it must be checked |
611 // here if the down event happened inside this control, |
628 // here if the down event happened inside this control, |
612 // but the up event inside digital clock or indicator |
629 // but the up event inside digital clock or indicator |
613 // pane area. |
630 // pane area. |
614 CEikStatusPaneBase* sp = CEikStatusPaneBase::Current(); |
631 |
615 TBool pointerUpInIndicatorArea( EFalse ); |
632 TBool pointerUpInIndicatorArea( EFalse ); |
616 TBool pointerUpInClockArea( EFalse ); |
633 TBool pointerUpInClockArea( EFalse ); |
617 |
634 |
618 if ( sp ) |
635 if ( sp ) |
619 { |
636 { |