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

Commit af5e4189 authored by John Reck's avatar John Reck Committed by Automerger Merge Worker
Browse files

Merge "Fix Boot animation display issue on android 14 devices" into main am: 80208b9d

parents cc75a237 80208b9d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -707,11 +707,11 @@ void BootAnimation::resizeSurface(int newWidth, int newHeight) {
    eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
    eglDestroySurface(mDisplay, mSurface);

    mFlingerSurfaceControl->updateDefaultBufferSize(newWidth, newHeight);
    const auto limitedSize = limitSurfaceSize(newWidth, newHeight);
    mWidth = limitedSize.width;
    mHeight = limitedSize.height;

    mFlingerSurfaceControl->updateDefaultBufferSize(mWidth, mHeight);
    EGLConfig config = getEglConfig(mDisplay);
    EGLSurface surface = eglCreateWindowSurface(mDisplay, config, mFlingerSurface.get(), nullptr);
    if (eglMakeCurrent(mDisplay, surface, surface, mContext) == EGL_FALSE) {