Hi there! Today I am going to publish my third extension - BrightnessTools
A simple extension to set your brightness!
Raises when error occured
Returns: Number (int)
Get Max brightness of user's phone. If max brightness not found, return 255.
Note: Android states that the maximum value should be 255.
However, different brands of phones have different settings, like some Xiaomi phones have the maximum of 4000.
Set the brightness of user's phone. Minimum value is 0.
Set brightness to adaptive or non-adaptive. Adaptive if true, otherwise non-adaptive.
You need to grant WRITE_SETTINGS permission.
com.watermelonice.BrightnessTools.aix (10.7 KB)
If you have liken it please give me a thumbs up!
THIS EXTENSION WILL ONLY BE DISTRIBUTED IN KODULAR AND AI2 COMMUNITY. REUPLOAD MY WORK IS NOT ALLOWED.