Merge pull request #107473 from m4gr3d/address_transparency_feedback

Address remaining feedback on Android background transparency
This commit is contained in:
Thaddeus Crews 2025-07-16 11:27:54 -05:00
commit 64c58c225a
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
6 changed files with 14 additions and 9 deletions

View file

@ -487,7 +487,9 @@ class Godot private constructor(val context: Context) {
// Check whether the render view should be made transparent
val shouldBeTransparent =
!isProjectManagerHint() && !isEditorHint() && java.lang.Boolean.parseBoolean(GodotLib.getGlobal("display/window/per_pixel_transparency/allowed"))
!isProjectManagerHint() &&
!isEditorHint() &&
java.lang.Boolean.parseBoolean(GodotLib.getGlobal("display/window/per_pixel_transparency/allowed"))
Log.d(TAG, "Render view should be transparent: $shouldBeTransparent")
renderView = if (usesVulkan()) {
if (meetsVulkanRequirements(context.packageManager)) {