summaryrefslogtreecommitdiffstats
path: root/LICENSE.LGPL3
diff options
context:
space:
mode:
authorSamuel Mira <samuel.mira@qt.io>2022-07-06 19:50:14 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-09-27 11:12:26 +0000
commit3fbee34058d6ee81b9ca2ffabcbc96c6de33a520 (patch)
tree25812a62bf15183e3dcd87564989e12755a0100e /LICENSE.LGPL3
parent8b3c48920574f1ec82133feabfe7a6b8e28c357b (diff)
Android: Fix Display.getRealMetrics deprecation
In latest Android versions some functions related with Display metrics were deprecated. This patch changes some instances of that code to use the Resources.getDisplayMetrics or WindowManager.getMaximumWindowMetrics depending on the situation. Fixes: QTBUG-99543 Change-Id: Id9846efa877f704ef7f58c1b0820ad1527b53f09 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> (cherry picked from commit 413593183bbb1137fdc784d98c171d67a167bb32) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'LICENSE.LGPL3')
0 files changed, 0 insertions, 0 deletions