--- a/camerauis/cameraapp/generic/src/CamPreCaptureContainerBase.cpp Tue Sep 14 20:46:07 2010 +0300
+++ b/camerauis/cameraapp/generic/src/CamPreCaptureContainerBase.cpp Wed Sep 15 11:51:19 2010 +0300
@@ -75,10 +75,10 @@
const TInt KIndicatorBlinkDelay = 250 * 1000;
const TInt KNumberOfBlinks = 3;
-const TInt KNumberOfBlinksVideo = 8;
+const TInt KNumberOfBlinksVideo = 7;
const TSize KCaptureButtonSize( 50, 50 );
-const TSize KAdditionalArea( 25, 11 );
+const TSize KAdditionalArea( 25, 9 );
const TInt32 KCaptureButtonYDelta( 10 );
// Snapshot data is needed in timelapse mode
@@ -2414,6 +2414,13 @@
DeactivateGc();
}
+ if( iBatteryPaneController )
+ {
+ if( ECamControllerVideo == iController.CurrentMode() )
+ {
+ iController.SetIdleTimerTimeout( !iBatteryPaneController->IsBatteryLow() );
+ }
+ }
}