| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Change-Id: I1b5e17f5b4397e61350746b161d58366a19a1fc9
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
|
| |
|
|
|
| |
Change-Id: I826a5a2fdc3aaa9c64f59fbe8b28c8757ca31c58
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Switching to a registered receiver allows to properly handle updates
on enabling of battery saver mode and switching of users.
Also only update screen filter with burn-in protection when the
device is in an interactive state.
Test: Service starts after rebooting with it enabled
Service starts on battery saver mode (user toggle)
Service starts on battery saver mode (auto-enabled)
Service re-adjusts on user switch to current user settings
Filter updates after selected timeout
Change-Id: Iced17fd5cc49e0163754bf75782f8465b54e859b
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Disables a percentage of pixels on screen to reduce power consumption.
If enabled with battery saver, don't scale brightness at 0.5f for UX.
Includes:
- Option to enable on battery saver
- User chosen grid
- Burn-in protection
Configurable via overlay and disabled by defualt:
"config_supportSmartPixels"
Change-Id: Id3c78548cb090ab2da11f543da31c5a408fb9fe9
Signed-off-by: Joe Maples <joe@frap129.org>
Signed-off-by: Adin Kwok <adin.kwok@carbonrom.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
|
|
|
Major credits to Sergii Pylypenko
Change-Id: Ib2d7e18ad8fe2313dbf7593bf55a2cfec03ce567
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
|