Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit acd7debc authored by Fiona Campbell's avatar Fiona Campbell
Browse files

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
parent ddae9c92
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment