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

Commit acac98ca authored by Chih-Chung Chang's avatar Chih-Chung Chang Committed by Android (Google) Code Review
Browse files

Merge "Fix black screen when viewing Gmail image file attachment. Bug: 6415848" into jb-dev

parents 57263d33 b56ff734
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1012,7 +1012,8 @@ class PositionController {
        float hFactor = 1.0f;
        int viewW, viewH;

        if (!mFilmMode && mConstrained && b == mBoxes.get(0)) {
        if (!mFilmMode && mConstrained && !mConstrainedFrame.isEmpty()
                && b == mBoxes.get(0)) {
            viewW = mConstrainedFrame.width();
            viewH = mConstrainedFrame.height();
        } else {