Commit Graph

3 Commits

Author SHA1 Message Date
Matsvei Niaverau
c844598f84 Revert "rosemary: lights: Adapt brightness scaling behaviour to match MIUI"
This reverts commit 6ce8341120.

Change-Id: Iad650d6a5fa47371c0bc3e1d5922dcc041be3d47
2023-05-31 13:58:38 +02:00
LinkBoi00
6ce8341120 rosemary: lights: Adapt brightness scaling behaviour to match MIUI
MIUI's lowest brightness value is '19' and using lower values
can cause the backlight to completely power off inadvertedly

Therefore, let's just account for this behaviour in the light AIDL
by adding '19' instead of '1' to the final brightness value

Signed-off-by: LinkBoi00 <linkdevel@protonmail.com>
Change-Id: I0e31bda9a0cc505f1246209810eae624dfe5d068
2023-04-25 17:59:38 +02:00
SamarV-121
a8484f951f rosemary: Build OSS Lights AIDL from RM6785
Co-authored-by: Demon000 <demonsingur@gmail.com>
Co-authored-by: vasishath <vasishath@gmail.com>
Co-authored-by: daniml3 <daniel@danielml.dev>
Change-Id: Ibf28d4b5e47c715f72da0eeee200f24aa7c99b3f
2022-11-12 10:45:57 +03:00