Commit graph

7 commits

Author SHA1 Message Date
dodyirawan85 b209ce4284 X6833B: overlay: Import more configs from stock
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
Georg Veichtlbauer 0c47ac5766 X6833B: overlay: Update deprecated screen power items
* ambient.on -> ambient.on.display0
* screen.on -> screen.on.display0
* screen.full -> screen.full.display0

AOSP frameworks/base: 8ac63071a4e6da7e0740f5eb6c6753218efcfd3a

Change-Id: Iad50e6cb63368e2d71e6fa1dbb6997c0f95d321e
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
Craig Mautner e8daa53663 X6833B: Use /dev/input events for audio jack detection
Change-Id: I9cfd35d49dd23ad17d0934d0f0ece19b7bfbbcdb
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
Michael Bestas 2b7b8271e8 X6833B: Enable peak refresh rate toggle in Settings
X6883B supports switching between 60, 90 and 120 Hz refresh rates,
so let's expose it in Settings -> Display -> Peak refresh rate for users to save
battery if necessary.

Test: visual confirmation after toggling several times
Change-Id: Ia206c495e3f40f583f8cd35e7753c30a5e917656
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 70e7c64bbf X6833B: overlay: Show min refresh rate toggle
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 cb3e6c0ec2 X6833B: overlay: Define statusbar paddings and cutout
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 69fc1fe174 X6833B: overlay: Add brightness and power profile configs from stock
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00