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

Commit aa77f39a authored by Doris Liu's avatar Doris Liu Committed by Android (Google) Code Review
Browse files

Merge "Fix camera controls blink on startup" into gb-ub-photos-bryce

parents a285bc13 58ed4d19
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1423,6 +1423,11 @@ public class PhotoView extends GLView {

    @Override
    protected void render(GLCanvas canvas) {
        if (mFirst) {
            // Make sure the fields are properly initialized before checking
            // whether isCamera()
            mPictures.get(0).reload();
        }
        // Check if the camera preview occupies the full screen.
        boolean full = !mFilmMode && mPictures.get(0).isCamera()
                && mPositionController.isCenter()