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

Commit 1ddcdd17 authored by mik_os's avatar mik_os
Browse files

Extend workaround for blackscreen issue.

parent c1e60589
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2066,10 +2066,12 @@ status_t SurfaceFlinger::turnElectronBeamOff(int32_t mode)
status_t SurfaceFlinger::turnElectronBeamOnImplLocked(int32_t mode)
{
    DisplayHardware& hw(graphicPlane(0).editDisplayHardware());
#ifndef DO_NOT_SET_CAN_DRAW
    if (hw.canDraw()) {
        // we're already on
        return NO_ERROR;
    }
#endif
    if (mode & ISurfaceComposer::eElectronBeamAnimationOn) {
        electronBeamOnAnimationImplLocked();
    }