--- a/securitydialogs/Autolock/src/AutolockAppUi.cpp Mon Jun 21 16:38:39 2010 +0300
+++ b/securitydialogs/Autolock/src/AutolockAppUi.cpp Thu Jul 15 19:36:50 2010 +0300
@@ -992,6 +992,10 @@
RWindowGroup& groupWin=iCoeEnv->RootWin();
iAppKey = groupWin.CaptureKeyUpAndDowns(EStdKeyApplication0, 0, 0); // Capture app key
}
+ // Any orientation change is a waste of battery and triggers unnecesary window events and paining.
+ // Not only that: in landscape the BigRedButton is too small.
+ // Therefore we always stay in portrait. The icon looks much nicer.
+ SetOrientationL( EAppUiOrientationPortrait );
LockSideKeyL();
}
// ----------------------------------------------------