| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Bug: 249831072
Test: atest SystemUITests
Change-Id: Id98ed38495feaab4780452ded14fe24b68ae6944
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
Dock events were forcing the device into AOD mode, and overriding the
proximity sensor.
Test: manual
Test: atest DozeDockHandlerTest
Fixes: 152377547
Change-Id: I250a0952ac82bc0690676e1c27f839179d7fa4f7
|
| |
|
|
|
|
|
|
|
|
| |
Prevent requesting DOZE_AOD_DOCKED while doze pulsing and requesting
DOZE_PULSE_DOWN while DOZE_AOD_DOCKED.
Fix: 153168608
Test: atest DozeMachineTest DozeDockHandlerTest
Test: manual test that docked on paired dock while pulsing won't crash
Change-Id: Ieec969c58ac85f90a985ec714643feea51118787
|
| |
|
|
|
|
| |
Bug: 140915138, 136070077
Test: atest SystemUITests.java
Change-Id: I03d92c809074fd66b857cd406fc3a200a05e53e9
|
| |
|
|
|
|
| |
Test: atest SystemUITests
Bug: 141470043
Change-Id: I089dd42ab67b0a37841159c5f1f9702ea45f57e6
|
| |
|
|
|
|
|
|
|
|
|
| |
When docked, DozeDockHandler will try to request pulse almost every time
doze machine transits to DOZE or DOZE_AOD state. Guards pulse requests
with flag to prevent requesting multiple pulses at the same time.
Bug: 135226053
Bug: 135396479
Test: Manual test and the symptom gone.
Change-Id: I20d7def12c25b2772ef2c1ebefba4b4ac4d313d6
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Isolated a bright pulse from a regular pulse (dark wallpaper)
and created a new machine state for the new case.
The state is also propagated to ScrimController, in order to
understand if the wallpaper should be dimmed down or not.
Fixes: 123991469
Test: receive notification, trigger sensor
Test: other manual notification tests
Test: repeat with image wallpaper and live wallpaper
Test: atest ScrimControllerTest
Test: atest DozeWallpaperStateTest
Change-Id: I6b54615dd6c7ecadf7dffd2d61ae7f93390d4c97
|
| |
|
|
|
|
|
|
|
|
|
|
| |
When AOD is on and the device goes from SCREEN_ON to SCREEN_OFF
in a dark room, the doze state is DOZE_AOD. Due to DozeDockHandler
receives STATE_DOCKED_HIDE but the state is not PLUSING, the screen
does not hide.
Bug: 127737347
Test: atest SystemUITests:DozeDockHandlerTest
Test: Manual
Change-Id: Icaebbdf843de61ef0026e8d3d5dca47bfc2f89eb
|
| |
|
|
|
|
| |
Test: m droid (run full build), atest SystemUITests
Bug: 126327497
Change-Id: Ife8303924bd02e9639008293bf9028f4871a9b16
|
| |
|
|
|
|
|
|
|
|
|
| |
In order to keep the same action to wake up device when docked, it
should enable double tap sensor even though the setting is off.
The miss-touch can be ignored when docked.
Bug: 123057133
Test: atest SystemUITests
Change-Id: I67dec8b3ae51f46c50570eaec0250c1aa1dc8bb9
|
| |
|
|
|
|
|
|
| |
Adding a state to support hiding UI while docking.
Bug: 119001412
Test: atest SystemUITests
Change-Id: I0e197aedc94ac4b0005a8b7f2d383c4e4f623e45
|
| |
|
|
|
|
|
|
|
|
|
| |
Checks the machine is currently in one of the pulse states before
query the current pulse reason. Avoid incorrect undocked event cause
DozeService crash. And refines test case and javadoc.
Bug: 120464108
Test: atest SystemUITests
Test: manual
Change-Id: I3595217984ec7982de1f0f53765e7ae0a9d80fcf
|
|
|
Improved the docking experence, let DozeService can enter always on mode
when docking if device has a docking manager. Listening the docking events
to enter/leave pulsing state.
Bug: 120464108
Test: atest SystemUITests
Change-Id: Ic3d89bdd7a18a069e3ee4f35c9bd677069bf1c43
|