diff options
author | Samuel Mira <samuel.mira@qt.io> | 2022-07-06 19:50:14 +0300 |
---|---|---|
committer | Samuel Mira <samuel.mira@qt.io> | 2022-09-27 14:12:11 +0300 |
commit | 413593183bbb1137fdc784d98c171d67a167bb32 (patch) | |
tree | d873d9150ef3f32f9ca133eeae305c1428dccb0c /.cmake.conf | |
parent | 2eb37e76f447258e13b38ff32e21a59a5c6e0072 (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
Pick-to: 6.4 6.3 6.2 5.15
Change-Id: Id9846efa877f704ef7f58c1b0820ad1527b53f09
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to '.cmake.conf')
0 files changed, 0 insertions, 0 deletions