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

Commit 80208b9d authored by John Reck's avatar John Reck Committed by Gerrit Code Review
Browse files

Merge "Fix Boot animation display issue on android 14 devices" into main

parents 79e82a8e 9231011c
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) {