My application supports only portrait mode, which I specified in
BaseConstructL(EAppOrientationPortrait) in AppUi class.
I want to show up dialog when users switch from portrait to landscape mode.
I tried to used CAknAppUiBase::Orientation() function in HandleResourceChangeL function , But it gives me orientation of Application which is portrait.
How I detect the orientation of device when the orientation is changed from Portrait to Landscape.