Skip to content

windowOptOutEdgeToEdgeEnforcement attribute is ignored in wrapped APK, causing UI issues on Android 15 #111

@ashish-Seclore

Description

@ashish-Seclore

Description:

When wrapping Android apps targeting API level 35 (Android 15) using the Intune App Wrapping Tool for Android, we’ve observed UI issues in the resulting APK. Specifically, even though the original APK defines:
<item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
This causes the app’s content to overlap with the status and navigation bars on Android 15+, resulting in a broken or disfigured UI.

Expected Behavior:
The wrapped APK should preserve and apply the android:windowOptOutEdgeToEdgeEnforcement attribute, maintaining the correct UI layout (i.e., not overlapping with system bars) just like the original APK.

Observed Behavior:

  • The wrapped APK builds successfully.
  • However, the UI behaves as if windowOptOutEdgeToEdgeEnforcement was not set.
  • This regression is only present in the wrapped version of the APK.

Root Cause:

  • The attribute windowOptOutEdgeToEdgeEnforcement was introduced in Android 15 (API level 35).
  • Apktool 2.11.0 added support for API 35 and this attribute: https://apktool.org/blog/apktool-2.11.0
  • The Intune App Wrapping Tool currently uses Apktool 2.10, which does not support this attribute.
  • As a result, the attribute is likely ignored or removed during the wrapping process.

Reference:
Related issue from Apktool: #3837 - Missing android:attr/windowOptOutEdgeToEdgeEnforcement

Smartphone

  • Device: Samsung S24
  • OS Version: Android 15

Note

  • We are using latest wrapping version
  • App works correctly without being wrapped

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions