Revision: 201025 RCL_3
authorDremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 15 Jul 2010 18:39:19 +0300
branchRCL_3
changeset 17 e4d7a31227b8
parent 15 04aa446da81c
child 18 1a6714c53019
Revision: 201025 Kit: 2010127
fmradio/fmradio/src/fmradioappui.cpp
fmradio/fmradio/src/fmradiofrequencyquerycontrol.cpp
--- a/fmradio/fmradio/src/fmradioappui.cpp	Mon Jun 21 15:40:50 2010 +0300
+++ b/fmradio/fmradio/src/fmradioappui.cpp	Thu Jul 15 18:39:19 2010 +0300
@@ -953,7 +953,7 @@
             // Restores all resources that were released with a call to Release().
             // After this the Hitchcock user interface should be in the same state
             // in terms of resources as it was prior to the Release() call.
-            //iAlfEnv->RestoreL();
+            iAlfEnv->RestoreL();
             
             // Check if offline profile is activated after/when playing e.g. music player.
             // In that case we didn't show the offline query as global, so we need
@@ -998,7 +998,7 @@
     else 
         {
         // Releases as many resources of the Hitchcock as possible. 
-        //iAlfEnv->Release( ETrue );
+        iAlfEnv->Release();
         }
     }
 
@@ -2345,7 +2345,7 @@
          region != EFMRadioRegionNone )
         {
         iAudioLost = EFalse;
-        iRadioEngine->InitializeRadio();
+        TurnRadioOn();
         }
     }
     
--- a/fmradio/fmradio/src/fmradiofrequencyquerycontrol.cpp	Mon Jun 21 15:40:50 2010 +0300
+++ b/fmradio/fmradio/src/fmradiofrequencyquerycontrol.cpp	Thu Jul 15 18:39:19 2010 +0300
@@ -351,6 +351,8 @@
     iLongPressAccelerationTimer->Cancel();
     iLongPressAccelerationTimer->Start(KFMRadioButtonRepeatAccelerationDelay, 0,
                                         TCallBack(LongPressAccelerateCallBack, this));
+    
+    iLongPressTimer->Cancel();
     iLongPressTimer->Start(KFMRadioButtonRepeatDelayMicroseconds,
                         KFMRadioButtonRepeatDelayMicroseconds,
                         TCallBack(LongPressTimerCallBack, this));