Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable DC Dimming & High Brightness Mode #6

Open
wants to merge 14 commits into
base: arrow-11.0
Choose a base branch
from
Open

Enable DC Dimming & High Brightness Mode #6

wants to merge 14 commits into from

Conversation

PptO07
Copy link

@PptO07 PptO07 commented Sep 21, 2021

  • Anti flicker & HBM based on exposure adjustment driver

Signed-off-by: Pranav Temkar [email protected]

justks and others added 14 commits September 16, 2021 17:50
Change-Id: Ibb7241a7cb85d607cd7a3465a1392e6bccfef2a1
Change-Id: Iba343c0467e9ced3326a5675f27119c5d60dd254
Partially revert: "vayu: rootdir: Import remaining xiaomi changes"
(Nuke powerkey_input_boost_freq and tweak cpuset as per CAF)

- This seem to slightly increase battery drain

Change-Id: I45e9afe170be5e2bccd6b7bff236577bac11a165
This is a squash of:
1. rootdir: Enable qcrild and data services instead of starting them

* Enabling the services allows them to start at their proper stage (class main)
* Enable them on boot to ensure they are enabled before class main starts

Change-Id: I71c3fcb72b38d247d304fda2fa6b2cc76baa0db2

2. rootdir: Start data services

* These modules are disabled by default and started by
  init.class_main.sh which we do not ship. Start them from init.qcom.rc
  on post-fs-data instead, just like qcrild.

Change-Id: Ifa907b5e33d8d3d08e64baaabfb8e3e450925e96

Change-Id: I84889b421fa73418d0e03e9af65edf9a014a74cd
 - We don't need these scripts anymore as we enable qcrild and data services via init.qcom.rc

Change-Id: I7843ad5743693c1601dc9302e785e78496102019
 - Enables additional features over 1.4 like AOSP sim toggle.

Change-Id: Ife5908ea609afc8a6332a06a5ba815977d7a0be3
 * libinit does not work in all cases i.e GSI, etc and its always better to keep default fallback values.

Change-Id: I788b9e734e2dd32bd90f7afd0873a031b5f24c1e
Set the VENDOR_SECURITY_PATCH and BOOT_SECURITY_PATCH level to match the platform
security patch level.  These are functionally the same.

Signed-off-by: Dmitrii <[email protected]>
Signed-off-by: Pranav Temkar <[email protected]>
based on previous DisplayFeature-powered dc dimming,
except now it uses exposure adjustment instead.

Co-authored-by: TheScarastic <[email protected]>
Co-authored-by: jhenrique09 <[email protected]>
Signed-off-by: Nauval Rizky <[email protected]>
Signed-off-by: Pranav Temkar <[email protected]>
and also remove unused bullet catching

Signed-off-by: Nauval Rizky <[email protected]>
Signed-off-by: Pranav Temkar <[email protected]>
 - Icon taken from https://materialdesignicons.com
 - Adapted to AndroidX

Signed-off-by: Anirudh Gupta <[email protected]>
[nullxception: adapt to raphael parts]
Signed-off-by: Nauval Rizky <[email protected]>
Signed-off-by: Pranav Temkar <[email protected]>
 * Reuse DC dimming fragment to commonise both switches

Signed-off-by: Pranav Temkar <[email protected]>
 * Display settings has diffrent fragments, so set order to make it appear properly

Signed-off-by: Pranav Temkar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants