5 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
ec1ca2871b rosemary: lights: Uprev light aidl to v2
Change-Id: Id16a35cd1b38d9e39533cfd9a5b0bb74b51cb73a
2023-04-15 14:36:56 +02:00
Jiyong Park
076f7631d2 rosemary: Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

Bug: 161456198
Test: m
Merged-In: I14a1c57bd06f1f2aa52491f779c7030d4de03547
Change-Id: I7b9055909b901843631314b9577a9e578a739d00
2022-12-07 00:10:21 +01: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