display_brightness_android 1.0.0
display_brightness_android: ^1.0.0 copied to clipboard
Android implementation of the display_brightness plugin.
1.0.0 #
- FIX:
dispose()no longer leaves the platform singleton pointing at a released JNI object. Reusing the plugin afterdispose()(e.g. reopening a screen that controls brightness) previously threwUseAfterReleaseError; the delegate is now recreated lazily on next use. - FIX: normalise the system brightness reading against the device's actual maximum (resolved from
PowerManager.BRIGHTNESS_ON, falling back to 255) instead of assuming 255, sobrightnessis correct on OEMs (e.g. MIUI) that use a different range. - FEAT: graduate to stable 1.0.0.
0.1.1 #
0.1.0 #
- The initial release