From 5b075b8f2ad3da573281f2109429fca70aedbadf Mon Sep 17 00:00:00 2001 From: andrewlewis Date: Mon, 11 May 2020 11:57:14 +0000 Subject: [PATCH] Fix 'associated' javadoc typos Change-Id: I4ff16ec3d6bd1d98bb04b647a38f12af87286a5e --- core/java/android/view/Surface.java | 4 ++-- core/java/android/view/SurfaceControl.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/java/android/view/Surface.java b/core/java/android/view/Surface.java index 3a6c8dd3720f2..489307beb8786 100644 --- a/core/java/android/view/Surface.java +++ b/core/java/android/view/Surface.java @@ -189,12 +189,12 @@ public class Surface implements Parcelable { } /** - * Create a Surface assosciated with a given {@link SurfaceControl}. Buffers submitted to this + * Create a Surface associated with a given {@link SurfaceControl}. Buffers submitted to this * surface will be displayed by the system compositor according to the parameters * specified by the control. Multiple surfaces may be constructed from one SurfaceControl, * but only one can be connected (e.g. have an active EGL context) at a time. * - * @param from The SurfaceControl to assosciate this Surface with + * @param from The SurfaceControl to associate this Surface with */ public Surface(@NonNull SurfaceControl from) { copyFrom(from); diff --git a/core/java/android/view/SurfaceControl.java b/core/java/android/view/SurfaceControl.java index fcd8127bbaa41..4f7bedaf1117a 100644 --- a/core/java/android/view/SurfaceControl.java +++ b/core/java/android/view/SurfaceControl.java @@ -2259,7 +2259,7 @@ public final class SurfaceControl implements Parcelable { } /** - * Specify how the buffer assosciated with this Surface is mapped in to the + * Specify how the buffer associated with this Surface is mapped in to the * parent coordinate space. The source frame will be scaled to fit the destination * frame, after being rotated according to the orientation parameter. *