widgets/widgetapp/src/WidgetUiAppUi.cpp
branchRCL_3
changeset 91 30342f40acbf
parent 71 4bd5176e1bc8
child 93 79859ed3eea9
equal deleted inserted replaced
84:800203832575 91:30342f40acbf
   302     const TWsEvent& aEvent, CCoeControl* aDestination )
   302     const TWsEvent& aEvent, CCoeControl* aDestination )
   303     {
   303     {
   304 
   304 
   305     if ( aEvent.Type() == KAknUidValueEndKeyCloseEvent )
   305     if ( aEvent.Type() == KAknUidValueEndKeyCloseEvent )
   306         {
   306         {
       
   307         	
       
   308 #ifdef BRDO_MULTITOUCH_ENABLED_FF
       
   309         if( IsDisplayingDialog() ) 
       
   310         	   {
       
   311              //Get the top dialog
       
   312              CCoeControl* control = TopFocusedControl();
       
   313              delete control;
       
   314              control = NULL;
       
   315              }
       
   316 #endif
   307         // Close the current active widget
   317         // Close the current active widget
   308         iWindowManager->CloseWindowsAsync(EFalse);
   318         iWindowManager->CloseWindowsAsync(EFalse);
   309         return;
   319         return;
   310         }
   320         }
   311 
   321 
   376         {
   386         {
   377         if(aEventType == KAppOomMonitor_FreeRam )
   387         if(aEventType == KAppOomMonitor_FreeRam )
   378             {            
   388             {            
   379 #ifdef OOM_WIDGET_CLOSEALL            
   389 #ifdef OOM_WIDGET_CLOSEALL            
   380             CloseAllWidgetsAndExit();
   390             CloseAllWidgetsAndExit();
   381 #else if    // OOM_WIDGET_CLOSEALL        
   391 #else //if    OOM_WIDGET_CLOSEALL        
   382             iWindowManager->HandleOOMEventL(iIsForeground);
   392             iWindowManager->HandleOOMEventL(iIsForeground);
   383             CloseAndExitIfNoneLeft();
   393             CloseAndExitIfNoneLeft();
   384 #endif            
   394 #endif            
   385             }
   395             }
   386         }
   396         }
   556     const TDesC8& aLine,
   566     const TDesC8& aLine,
   557     TUid& aUid,
   567     TUid& aUid,
   558     TUint32& aOperation )
   568     TUint32& aOperation )
   559     {
   569     {
   560     __UHEAP_MARK;
   570     __UHEAP_MARK;
   561     TUint32 version( -1 );
   571     TUint32 version( 0 );
   562     TPtrC ptr( NULL, 0 );
   572     TPtrC ptr( NULL, 0 );
   563     
   573     
   564     RDesReadStream stream( aLine );
   574     RDesReadStream stream( aLine );
   565     CleanupClosePushL( stream );
   575     CleanupClosePushL( stream );
   566     
   576