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

Skip to content
Commit 9451efd2 authored by Vladimir Komsiyski's avatar Vladimir Komsiyski
Browse files

Fix virtual display power state management.

Before:
 - setSurface results in OFF/ON display state, ignoring the relevant
   power group state.

After:
 - display states follow the relevant power group state.
 - setSurface can turn off and on the display if the power group is
   on but has no effect if the power group is off. This is in line
   with the API docs of VirtualDisplay#setSurface

Fix: 369061926
Test: CTS
Flag: EXEMPT bugfix
Change-Id: Iff0b59ba400c7eb1277a2bd65e835b715215a8b6
parent a70cdf69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment