Skip to content

feat: Improve edge-to-edge and display cutout handling#4669

Merged
jamesarich merged 1 commit intomainfrom
feat/edge-to-edge
Feb 27, 2026
Merged

feat: Improve edge-to-edge and display cutout handling#4669
jamesarich merged 1 commit intomainfrom
feat/edge-to-edge

Conversation

@jamesarich
Copy link
Copy Markdown
Collaborator

  • Explicitly set layoutInDisplayCutoutMode to ALWAYS for Android 15+ to satisfy Play Console recommendations.
  • Move base enableEdgeToEdge() and window configuration out of setContent to early onCreate.
  • Wrap system bar styling updates in a SideEffect to properly apply dynamic theme changes.
  • Remove safeDrawingPadding() and recalculateWindowInsets() from NavHost to allow true edge-to-edge rendering.

- Explicitly set `layoutInDisplayCutoutMode` to ALWAYS for Android 15+ to satisfy Play Console recommendations.
- Move base `enableEdgeToEdge()` and window configuration out of `setContent` to early `onCreate`.
- Wrap system bar styling updates in a `SideEffect` to properly apply dynamic theme changes.
- Remove `safeDrawingPadding()` and `recalculateWindowInsets()` from `NavHost` to allow true edge-to-edge rendering.
@github-actions github-actions bot added the enhancement New feature or request label Feb 27, 2026
@jamesarich jamesarich changed the title Improve edge-to-edge and display cutout handling feat: Improve edge-to-edge and display cutout handling Feb 27, 2026
@jamesarich jamesarich enabled auto-merge February 27, 2026 17:23
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 15.36%. Comparing base (0a6fcc8) to head (bec4b40).
⚠️ Report is 9 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4669   +/-   ##
=======================================
  Coverage   15.36%   15.36%           
=======================================
  Files          83       83           
  Lines        4342     4342           
  Branches      734      734           
=======================================
  Hits          667      667           
  Misses       3551     3551           
  Partials      124      124           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jamesarich jamesarich added this pull request to the merge queue Feb 27, 2026
Merged via the queue into main with commit a079925 Feb 27, 2026
10 checks passed
@jamesarich jamesarich deleted the feat/edge-to-edge branch February 27, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant