Adobe-Runtime-Support
Adobe-Runtime-Support copied to clipboard
Problem with device resolution in AIRSDK 33.1.1.889
In SDK 33.1.1.889, screenResolutionY provides an incorrect value.
This causes the view to be shifted and stretched. In older SDKs, a black border was displayed at the top and bottom.


This is likely caused by the automatic inclusion of a high aspect ratio setting for Android, which we added recently. So the bottom image is actually getting closer to the full size of the display which was the intention...
If you don't want the new behaviour, you can explicitly set the app back to the previous max aspect ratio of 1.86 (16:9) using the application descriptor file, e.g.
<android>
<manifestAdditions><![CDATA[
<manifest android:installLocation="auto">
<!-- other tags here -->
<application android:hardwareAccelerated="true">
<meta-data android:name="android.max_aspect" android:value="1.86" />
</application>
</manifest>
]]></manifestAdditions>
</android>
See https://developer.android.com/guide/practices/screens-distribution#maxAspectRatio and the above sample adapted from https://community.adobe.com/t5/animate-discussions/full-screen-in-as3-air/td-p/5191156