2.0.0-beta03
Pre-release
Pre-release
Added
- Added
HazeInput.Backdropwith portable source fallback and an experimental native backend for
Android 17 QPR2. Native rendering is disabled by default and requires
HazeFeatureFlags.isPlatformBackdropEnabled; physical Android 37.2 acceptance remains pending
(#1278). - Added
GlassAccessibilitySettingsandLocalGlassAccessibilitySettingsfor app-supplied reduced
transparency, increased contrast, and visible borders, plus theedgeShadowstyle builder and
GlassOptics.refractionDetailIntensitycontrols
(#1272,
#1275).
Changed
- Replaced the experimental
GlassOptics.AdaptiveandGlassOptics.Fixedtypes with one public
GlassOpticsconfiguration. Blur and depth can now use independent shortest-dimension points
throughOpticalSizeValue.Responsive
(#1272). - Refined Glass edge shading and the default specular response
(#1275). - Skip source capture while no effects consume it
(#1279). - Validate progressive gradient intensities as finite values in
0f..1fand require at least two
stops when converting gradients to brushes
(#1282). - Refreshed Android baseline profiles for Haze 2
(#1293,
#1294). - Updated Kotlin to 2.4.20 (#1295).
Fixed
- Corrected the built-in Regular and Clear Glass blur and depth responses so compact surfaces retain
more source detail while larger surfaces increase their blur smoothly
(#1272). - Corrected published Compose dependency scopes
(#1283). - Fixed
Behindsource selection across nested independent Haze states
(#1290). - Accept subpixel blur radii in the RenderScript backend
(#1291). - Preserve progressive blur coverage for constant and restricted intensity ranges on Android 12
and 12L (#1292). - Fixed a RenderScript teardown race that could crash during scrolling and activity relaunch
(#1294).