Skip to content

Release 2.0

Choose a tag to compare

@The-First-King The-First-King released this 21 Dec 20:23
· 265 commits to master since this release
9d6863d

SHA-256

a9c847c3823546aeca467d1bb1eb9d5bbd77942ecc4d32c15c253f0707c156af

Changelog

Refactor brightness calculation with log interpolation: Switching from plain linear interpolation in lux space to a non-linear mapping because the human eye perception of brightness is logarithmic (following the Weber-Fechner law), not linear. A linear increase in backlight intensity looks like a massive jump in a dark room, but is barely noticeable in sunlight.

Known Issue: Permission popup is unresponsive in "On screen unlock/rotate" mode.

When the “On screen unlock/rotate” work mode is active, the system permission dialog (e.g., “Allow Auto Light to make and manage phone calls?”) may become unresponsive to touches.

Workaround: Either stop the service before selecting this work mode, or manually grant the necessary permissions in the Android App Settings menu.

Root Cause: This occurs because the service uses a transparent WindowManager overlay to monitor the screen state. On Android 12 and newer, the system identifies this as an “Untrusted Touch” risk. To prevent “tapjacking,” Android disables the "Allow" button on system dialogs if any overlay, even a transparent one, is active.