diff options
| author | 2021-12-07 17:58:21 +0000 | |
|---|---|---|
| committer | 2021-12-15 17:38:35 +0000 | |
| commit | acd7debc658ac6bbcf3cc8c2173ce4a99d2ce113 (patch) | |
| tree | d2b751bc30eca819727bc7a09268c72333105c10 /libs/androidfw/StringPool.cpp | |
| parent | ddae9c92a22d8ad9f411013fe5a9f27fc32cfdef (diff) | |
Go idle on docking and dreaming intent
Listen to docking and undocking intents in display manager.
Then call DPC to call ABC to set the docked and idle mode.
We do this for the default display.
The adb command will set docked and idle mode, regardless of whether we
are actually idle or not.
Bug: 205686215
Test: atest AutomaticBrightnessControllerTest
logcat | grep -i idle
adb shell dumpsys DockObserver set state [0|3]
adb shell cmd display [dock|undock] // this goes straight to
docked+idlemode
Change-Id: I5b999439a3681c7c7a8398d7493a66ab132ea41b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions