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

Commit ec2efb9c authored by Eino-Ville Talvala's avatar Eino-Ville Talvala Committed by Android Git Automerger
Browse files

am 08b12dfb: Merge "Camera2: Legacy: Lock down surface sizes before creating...

am 08b12dfb: Merge "Camera2: Legacy: Lock down surface sizes before creating EGL surfaces" into mnc-dev

* commit '08b12dfb':
  Camera2: Legacy: Lock down surface sizes before creating EGL surfaces
parents 4351111b 08b12dfb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -338,6 +338,8 @@ public class LegacyCameraDevice implements AutoCloseable {
                    } else {
                        sizedSurfaces.add(new Pair<>(output, s));
                    }
                    // Lock down the size before configuration
                    setSurfaceDimens(output, s.getWidth(), s.getHeight());
                } catch (BufferQueueAbandonedException e) {
                    Log.e(TAG, "Surface bufferqueue is abandoned, cannot configure as output: ", e);
                    return BAD_VALUE;