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
Loading
Please register or sign in to comment