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

Commit 3292cae8 authored by Mathias Agopian's avatar Mathias Agopian Committed by Android (Google) Code Review
Browse files

don't automatically unblank external displays

this should be handled by the display-manager. we were doing
that in SF because until recently we didn't have enough support
in the HAL. however, this is now causing other problems when
plugging hdmi while the screen is off for instance.

Bug: 7150885
Change-Id: I739b209056a765d38d05295cf202f67ee0f506ae
parent 2a09bb32
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -1212,12 +1212,6 @@ void SurfaceFlinger::handleTransactionLocked(uint32_t transactionFlags)
                                state.viewport, state.frame);
                        hw->setDisplayName(state.displayName);
                        mDisplays.add(display, hw);
                        if (hw->getDisplayType() < DisplayDevice::NUM_DISPLAY_TYPES) {
                            // notify the system that this display is now up
                            // (note onScreenAcquired() is safe to call from
                            // here because we're in the main thread)
                            onScreenAcquired(hw);
                        }
                    }
                }
            }