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

Commit 491f40dd authored by Mike Lockwood's avatar Mike Lockwood Committed by Mike Lockwood
Browse files

Fix merge problem

parent 3a2ce935
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -2245,11 +2245,13 @@ public class PowerManagerService extends IPowerManager.Stub
                        mScreenOffHandler.postAtTime(this, now+(1000/60));
                    }
                } else {
                    if (!mHeadless) {
                        // It's pretty scary to hold mLocks for this long, and we should
                        // redesign this, but it works for now.
                        nativeStartSurfaceFlingerAnimation(
                                mScreenOffReason == WindowManagerPolicy.OFF_BECAUSE_OF_PROX_SENSOR
                                ? 0 : mAnimationSetting);
                    }
                    mScreenBrightness.jumpToTargetLocked();
                }
            }