diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-08-31 16:22:46 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-09-02 19:00:18 +0200 |
commit | 233b6534a79c09e30b9aeb14dbb1cb469a67f2a0 (patch) | |
tree | 432d8a06a3d11d8e21d68f6eb5b309a7aa73fac9 /src/android/templates/AndroidManifest.xml | |
parent | b200ff685e40493c672dfe5f13988a812f1839ee (diff) |
High-DPI: Remove legacy environment variables
QT_DEVICE_PIXEL_RATIO is replaced by QT_SCALE_FACTOR, while
QT_AUTO_SCREEN_SCALE_FACTOR is replaced by QT_ENABLE_HIGHDPI_SCALING.
Since High-DPI is now always enabled, there's no reason to keep the
code path for android.app.auto_screen_scale_factor. Also, based on
the original commit message that introduced this code, the value of
the property should have been true.
Change-Id: Ib34b1deeab46c488c67c4d64f087599b4a54dc55
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/android/templates/AndroidManifest.xml')
-rw-r--r-- | src/android/templates/AndroidManifest.xml | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/android/templates/AndroidManifest.xml b/src/android/templates/AndroidManifest.xml index 62c6da5a32..d42ed067c6 100644 --- a/src/android/templates/AndroidManifest.xml +++ b/src/android/templates/AndroidManifest.xml @@ -62,10 +62,6 @@ <meta-data android:name="android.app.background_running" android:value="false"/> <!-- Background running --> - <!-- auto screen scale factor --> - <meta-data android:name="android.app.auto_screen_scale_factor" android:value="false"/> - <!-- auto screen scale factor --> - <!-- extract android style --> <!-- available android:values : * default - In most cases this will be the same as "full", but it can also be something else if needed, e.g., for compatibility reasons |