Skip to content

Commit

Permalink
Set resizeableActivity to true
Browse files Browse the repository at this point in the history
To uncap aspect ratios on older Android versions.
  • Loading branch information
askmeaboutlo0m committed Nov 19, 2024
1 parent 68469a8 commit 47a12ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Unreleased Version 2.2.2-pre
* Fix: Remove pointless permissions on Android that Qt includes by default but aren't actually used.
* Fix: Don't default Android to fingerpaint when a pen is present.
* Fix: Work around a crash on Android that sometimes occurs when putting your palm on the screen, which somehow leads to touch events with zero contact points. Thanks Mav for reporting.
* Fix: Uncap aspect ratio on older Android versions. Thanks Molderche for reporting.

2024-11-06 Version 2.2.2-beta.4
* Fix: Solve rendering glitches with selection outlines that happen on some systems. Thanks xxxx for reporting.
Expand Down
5 changes: 4 additions & 1 deletion src/desktop/AndroidManifest.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,17 @@
android:allowNativeHeapPointerTagging="false"
android:allowBackup="true"
android:fullBackupOnly="false"
android:resizeableActivity="true"
${ANDROID_APPLICATION_ATTRIBUTES}>
<meta-data android:name="android.max_aspect" android:value="2.1" />
<activity
android:name="${ANDROID_QT_NAMESPACE}.android.bindings.QtActivity"
android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density"
android:label="-- %%INSERT_APP_NAME%% --"
android:launchMode="singleTop"
android:screenOrientation="unspecified"
android:exported="true">
android:exported="true"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down

0 comments on commit 47a12ed

Please sign in to comment.