Use correct size in fullscreen mode
authorPaul Olav Tvete <paul.tvete@digia.com>
Tue, 19 Aug 2014 13:55:32 +0000 (15:55 +0200)
committerPaul Olav Tvete <paul.tvete@digia.com>
Wed, 20 Aug 2014 08:07:34 +0000 (10:07 +0200)
commit90ed77c0448b2104d3235f9d064ad57d95f1a976
treeea2e162cf284762d3889a44eab67a8629221a6d7
parentb8989f937aa931113845dcd65b5d1a7e5fd8bee4
Use correct size in fullscreen mode

Android does not report the full screen size in display metrics.
However, it does report the correct size for layouts, which we use
to get the available geometry. Since by definition, the available
geometry should always be inside the screen geometry, it is safe to
use the maximum of the two sizes.

Task-number: QTBUG-39977
Change-Id: I78d974f12274ca67eada43f5e1d80e70149efe3f
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
src/plugins/platforms/android/androidjnimain.cpp