Skip to content
Commit 95c96de2 authored by Sean Stout's avatar Sean Stout
Browse files

Only request power state of default display

Only the default display can have its power state controlled at this
time. Avoid requesting power state of any other display to avoid
initializing DisplayPowerController which does not shut itself down
properly in the event that a display is removed.

Bug: 178153032
Test: atest android.server.wm.DisplayCutoutTests#testDisplayCutout_never
Change-Id: Iea75815802d2759cba4f93d020c6c3700fee82a6
parent 9e2a8174
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