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

Commit b427af81 authored by Oleg Blinnikov's avatar Oleg Blinnikov
Browse files

Drop unblockScreenOff

Change-Id: I2d80f147581274c5feb3d357946db25e15658c1f
Bug: 356292179
Test: atest DisplayPowerControllerTest
Flag: EXEMPT simple bugfix
parent d9bdb91b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2228,7 +2228,6 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
                    setReportedScreenState(REPORTED_TO_POLICY_SCREEN_TURNING_OFF);
                    blockScreenOff();
                    mWindowManagerPolicy.screenTurningOff(mDisplayId, mPendingScreenOffUnblocker);
                    unblockScreenOff();
                } else if (mPendingScreenOffUnblocker != null) {
                    // Abort doing the state change until screen off is unblocked.
                    return false;