commit | 3449e29e478d3e8851c77127eb1bcc55edf0ae62 | [log] [tgz] |
---|---|---|
author | Sean Stout <sstout@google.com> | Fri Mar 19 00:30:18 2021 -0700 |
committer | Sean Stout <sstout@google.com> | Fri Mar 19 14:47:08 2021 -0700 |
tree | c8e20cafedb3774ce22072431b7518a9b1d95107 | |
parent | 0c8ed4ce88b2b4dfdde5ac6b1fec95d24d0cfd7f [diff] |
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