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

Skip to content
Commit 66b273e1 authored by Oleg Blinnikov's avatar Oleg Blinnikov
Browse files

Connected displays wait for boot complete

Sending display "connected" for external display
too early during boot may result into
ExternalDisplayStatsService won't be able to
register listeners due to other services
for example ActivityManager may not be available
so early in the boot. Also, there is a problem
with disabling display early in the boot which
results into display not possible to re-enable
upon user click on Mirror dialog.

This CL postpones the disabling the connected
display together with initializing ExternalDisplay
StatsService until boot completes.

Change-Id: I472a82cfe8db01b644b14c05bab90f1de91818e8
Bug: 328463830
Bug: 318595765
Test: restart device while external display is connected
Test: atest ExternalDisplayPolicyTest
parent 670ec4a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment