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

Commit c7061353 authored by heyoukang's avatar heyoukang
Browse files

Fix typo



Bug: N/A
Test: N/A

Change-Id: I508bc0ffcd9ec27a5cbd8fca5e26f6cb6a801c1d
Signed-off-by: default avatarheyoukang <heyoukang00@gmail.com>
parent 0805e0e8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4479,7 +4479,7 @@ public final class SurfaceControl implements Parcelable {
        /**
         * @hide
         */
        public Transaction setDesintationFrame(SurfaceControl sc, @NonNull Rect destinationFrame) {
        public Transaction setDestinationFrame(SurfaceControl sc, @NonNull Rect destinationFrame) {
            checkPreconditions(sc);
            nativeSetDestinationFrame(mNativeObject, sc.mNativeObject,
                    destinationFrame.left, destinationFrame.top, destinationFrame.right,
@@ -4490,7 +4490,7 @@ public final class SurfaceControl implements Parcelable {
        /**
         * @hide
         */
        public Transaction setDesintationFrame(SurfaceControl sc, int width, int height) {
        public Transaction setDestinationFrame(SurfaceControl sc, int width, int height) {
            checkPreconditions(sc);
            nativeSetDestinationFrame(mNativeObject, sc.mNativeObject, 0, 0, width, height);
            return this;
+1 −1
Original line number Diff line number Diff line
@@ -1092,7 +1092,7 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall
                    }
                }

                surfaceUpdateTransaction.setDesintationFrame(mBlastSurfaceControl, mSurfaceWidth,
                surfaceUpdateTransaction.setDestinationFrame(mBlastSurfaceControl, mSurfaceWidth,
                            mSurfaceHeight);

                if (isHardwareAccelerated()) {