ApplyLandscapeMaxBrightness

Applies a max (or custom) screen brightness to the current Activity's window only when in landscape. When leaving landscape or when the composable leaves composition, the previous window value is restored.

Parameters

level

Desired brightness 0f..1f. 1f = max. Values are coerced into range.