BackBufferWidth and BackBufferHeight changes places

Hi, I am trying out monogames on Note 3 (1920x1080 resolution). When I start game first time its ok, I exit and start again and then graphicsDevice.PresentationParameters.BackBufferWidth and graphicsDevice.PresentationParameters.BackBufferHeight changes but the screen orentation doesnt. Why is that happening? How to fix that?


(first and second game launch)
If I force close application and then start it the resolution is ok. So it looks like this.Exit() doesnt close the application correctly and the problem occurs. How to force close application? Crashing game on exit works good but I dont think that’s the best solution…

I encountered the same problem with Exit(), it doesn’t seem to really terminate the game, it only calls Game.Exit().

What I did is, when trying to exit completely, I also exit the Activity, somewhat like this:

private void handleKeys()
{
    /// When the back button is pressed
    if (GamePad.GetState(PlayerIndex.One).IsButtonDown(Buttons.Back))
    {
        game.Exit();

        /// Causes the Android activity to close
        game.Activity.Finish();
    }
}