From af7ed63720c06d285751b3c6fd6d0cf00bb71831 Mon Sep 17 00:00:00 2001 From: Lais Andrade Date: Mon, 12 Sep 2022 12:19:24 +0000 Subject: [PATCH] Update VibrationEffect.Composition.compose documentation Update wording around the compose() method to refer to composition elements, not only primitives. Change-Id: Idf5a339a5fb0ffd510e7fda0e3784916c8505eae Bug: 245491186 Test: N/A --- core/java/android/os/VibrationEffect.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/java/android/os/VibrationEffect.java b/core/java/android/os/VibrationEffect.java index 237f6ed819f61..71bc4b36f4e02 100644 --- a/core/java/android/os/VibrationEffect.java +++ b/core/java/android/os/VibrationEffect.java @@ -1077,13 +1077,13 @@ public abstract class VibrationEffect implements Parcelable { } /** - * Compose all of the added primitives together into a single {@link VibrationEffect}. + * Compose all of the added elements together into a single {@link VibrationEffect}. * *

The {@link Composition} object is still valid after this call, so you can continue - * adding more primitives to it and generating more {@link VibrationEffect}s by calling this + * adding more elements to it and generating more {@link VibrationEffect}s by calling this * method again. * - * @return The {@link VibrationEffect} resulting from the composition of the primitives. + * @return The {@link VibrationEffect} resulting from the composition of the elements. */ @NonNull public VibrationEffect compose() {