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

Commit 728c4837 authored by Oleg Blinnikov's avatar Oleg Blinnikov
Browse files

Prevent disabling the default display.

Add checks in `DisplayManagerService.enableConnectedDisplay` and `DisplayManagerShellCommand` to ensure the default display (Display.DEFAULT_DISPLAY) cannot be disabled. Attempting to disable the default display will now be ignored by the service and result in an error message from the shell command.

Bug: 432573493
Test: manual
Flag: EXEMPT simple bugfix
Change-Id: Ia3d671e441e52839c70e2606bb6677eb0bea4fea
parent a25f320b
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