Android 4.1.2 emulator, 400x800 screen, Sencha Touch 2.4.2.

Create a page with the following code:
Ext.Viewport.on('orientationchange', function(viewport, orientation, width, height) {
    console.log("orientationchange handler: " + orientation + " " + width + " " + height);
Launch in stock browser, in portrait mode. Rotate to landscape. Result is width=320, height=456. This was the width/height in portrait, before the rotation.

Rotate to portrait. Result is width=533, height=291. This was the width/height in landscape, before the rotation.

It's always sending the wrong width/height.

I think this has something to do with the use of the 'orientationchange' event in ST 2.4.2, whereas 'resize' was used before (although that didn't work either, for different reasons.)

If I set Ext.feature.has.OrientationChange to false before the Ext.viewport.Default constructor is called, it uses the 'resize' event instead, and this makes it return the right width/height values (although I don't know what else might break).