| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Now marked as deprecated.
Bug: 229228871
Test: manual
Change-Id: I872806af23243171e9123c18a5a06201513a3d79
|
| |
|
|
|
|
|
|
|
|
| |
animation.
This is the value PowerManager uses to dim the screen just before timeout, per https://source.corp.google.com/sc-dev/frameworks/base/core/res/res/values/config.xml;l=1349?q=config_screenBrightnessDim.
Fixes: 190581215
Test: watch the screen off, no brightness jump
Change-Id: I54856416dae1270c4379cb0547712edeba02b204
|
| |
|
|
|
|
|
|
|
|
|
| |
This replaces DozeFactory with some Dagger idioms. The DozeComponent
is a subcomponent, created by DozeService, for all your Doze related
needs. Items that should only live within the DozeService can be
annotated with @DozeScope.
Fixes: 159701507
Test: atest SystemUITests && manual
Change-Id: I76d0709b1689408d95b4913d0d46761174cf5ea9
|
| |
|
|
|
|
|
|
|
|
|
| |
Fixes an issue where the AlwaysOnDisplayPolicy leaked a service
context, and with it the entirety of DozeMachine, preventing
wakelocks from being GCed and preventing them from being
fallback-released.
Bug: 78402666
Test: Toggle screen on and off a few times, verify that DozeService is not being leaked.
Change-Id: Ie3ad67c2d0c83760f4d04a53394fab4a3a35d6bc
|
| |
|
|
|
|
|
|
|
|
|
| |
Hide wallpaper by cross fading back scrim. This increases
battery life since black pixels won't drain power.
Bug: 64155983
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Test: set AoD wallpaper, wait for 1 min.
Test: set AoD wallpaper, wait for 50 sec, go to pulsing, wait 10 sec.
Change-Id: Ie830c2fd20f9e60efbfd9e78f248603df07ae93c
|
| |
|
|
|
| |
Test: atest NotificationSnoozeTest KeyValueListParserTest AlwaysOnDisplayPolicyTest
Change-Id: Ia26cd38258c2cf83558a9a39a6b1c2ec6dedfcb1
|
| |
|
|
|
|
| |
Bug: 67009600
Test: runtest systemui
Change-Id: I5505b69051a55608b3c3803c48dd51603845e9c9
|
| |
|
|
|
|
| |
Bug: 65010918
Change-Id: I2a5f3a2109a38d7093fd0ea84fbb1026eb6c1215
Test: On AOD cover prox for 10s. Verify screen turns off.
|
|
|
This cl creates AlwaysOnDisplayPolicy, which get values for the
following knobs(go/aod-experiments) from Settings.Global:
1. screen_brightness_array
2. dimming_scrim_array
3. prox_screen_off_delay
4. prox_cooldown_trigger
5. prox_cooldown_period
Also update code to make sure AlwaysOnDisplayPolicy is used
everywhere.
Bug: 64899561
Test: runtest -x AlwaysOnDisplayPolicyTest
Change-Id: I2e83ff980771e67177e4964bd83aa68b2bdca65f
|