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

Commit 9529f00a authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by Automerger Merge Worker
Browse files

Merge "Address missed comments from previous CL" into rvc-dev am: dab5588e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11978216

Change-Id: I2637826dde356b7604dffa907f4385c7b83a3780
parents 308851eb dab5588e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -229,7 +229,7 @@ public final class SurfaceControl implements Parcelable {
            int transformHint);

    @Nullable
    @GuardedBy("sLock")
    @GuardedBy("mLock")
    private ArrayList<OnReparentListener> mReparentListeners;

    /**
+1 −1
Original line number Diff line number Diff line
@@ -1231,7 +1231,7 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall
            float postScaleX, float postScaleY) {
        transaction.setPosition(surface, positionLeft, positionTop);
        transaction.setMatrix(surface, postScaleX /*dsdx*/, 0f /*dtdx*/,
                0f /*dsdy*/, postScaleY /*dtdy*/);
                0f /*dtdy*/, postScaleY /*dsdy*/);
    }

    /** @hide */
+1 −2
Original line number Diff line number Diff line
@@ -156,8 +156,7 @@ public class InlineContentView extends ViewGroup {
        @Override
        public void onDraw() {
            computeParentPositionAndScale();
            final int visibility = InlineContentView.this.isShown() ? VISIBLE : GONE;
            mSurfaceView.setVisibility(visibility);
            mSurfaceView.setVisibility(VISIBLE);
        }
    };