mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 11:30:47 -05:00
WindowWidthSizeClass is deprecated in window-core 1.5. Check the width breakpoints with WindowSizeClass.isWidthAtLeastBreakpoint() instead. The adaptive library only buckets widths at 600 and 840dp, so the expanded and compact checks behave exactly as before. The API is only available since window-core 1.4, while adaptive 1.1.0 puts 1.3.0 on the compile classpath. Depend on window-core 1.5.0 explicitly, the version already resolved at runtime, so the packaged dependencies do not change. Assisted-by: Claude Opus 5.5