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

Commit af7ed637 authored by Lais Andrade's avatar Lais Andrade
Browse files

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
parent 8357f7bb
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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}.
         *
         * <p>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() {