Fix current orientation detection.
commit7ddbd9eb1dd15fbb35851c893f395f102d0d7d31
authorBartosz Taudul <wolf.pld@gmail.com>
Tue, 22 Jul 2008 21:44:27 +0000 (22 23:44 +0200)
committerBartosz Taudul <wolf.pld@gmail.com>
Tue, 22 Jul 2008 21:44:27 +0000 (22 23:44 +0200)
tree7d16e260f415a4159875cb96badeeea1dd531e25
parentb28b7421dbaea7bfdbe65efef648699f56b29a70
Fix current orientation detection.

CAknAppUi->Orientation() method is not reliable (returns
EAppUiOrientationUnspecified instead of specific orientation), so use
much dumber screen dimension comparison, which should be fine, according
to http://discussion.forum.nokia.com/forum/showthread.php?t=101603 ("how
to get the phones orientation at the app launch.")
src/video/symbian/SDL_epocvideo.cpp