vc=29: fullscreen overlay controls respect display cutout + status bar

In portrait fullscreen, the camera notch / cutout was eating the top
overlay buttons — SB pill, Speed, Headphones, Videocam, Share, PiP,
Minimize. Tappable area sat under the cutout shadow; presses dropped.

Wrapped the overlay layer (SB pill + control Row) in a Box with
windowInsetsPadding(WindowInsets.safeDrawing). safeDrawing is the
union of system bars + display cutouts + IME, so this single modifier
covers both portrait (notch at top) and landscape (cutout at side)
without per-orientation logic. The PlayerView itself still uses
fillMaxSize with no inset padding — video stays full-bleed and reads
as immersive; only the touch-targets respect the safe area.
This commit is contained in:
Kayos 2026-05-25 11:54:45 -07:00
parent 2e339814fd
commit 29ffed265b
2 changed files with 17 additions and 2 deletions

View file

@ -55,6 +55,6 @@ const val NEWPIPE_APPLICATION_ID_NEW = "net.newpipe.app"
// vc=19 / 0.1.0-AE — rust pipeline cutover. Extraction via
// strawcore-core (Sulkta-Coop/strawcore) via the UniFFI wrapper; no
// NewPipeExtractor in the runtime path.
const val STRAW_VERSION_CODE = 28
const val STRAW_VERSION_NAME = "0.1.0-AN"
const val STRAW_VERSION_CODE = 29
const val STRAW_VERSION_NAME = "0.1.0-AO"
const val STRAW_APPLICATION_ID = "com.sulkta.straw"