Skip to content
Commit 3449e29e authored by Sean Stout's avatar Sean Stout
Browse files

Only create DPCs for LocalDisplays & FLAG_OWN_DISPLAY_GROUP

Instead of all Displays having their own DisplayPowerController, this CL
makes it so that only LocalDisplays or displays which have explicitly
requested a DisplayGroup will have a DPC created.

This preserves existing behavior for non-physical displays.

Bug: 181901142
Test: launch Android Auto in DHU mode and turn off main display
Change-Id: I9aa333f8dce05b5dcebf11d16fd8b0f61c3377cd
parent 0c8ed4ce
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