diff options
author | Sean Stout <sstout@google.com> | 2021-03-19 00:30:18 -0700 |
---|---|---|
committer | Sean Stout <sstout@google.com> | 2021-03-19 14:47:08 -0700 |
commit | 3449e29e478d3e8851c77127eb1bcc55edf0ae62 (patch) | |
tree | c8e20cafedb3774ce22072431b7518a9b1d95107 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions