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

Commit 66a26003 authored by Lais Andrade's avatar Lais Andrade
Browse files

Clarify delay parameter documentation in VibrationEffect

Make it clear in the javadoc for addPrimitive method the start point of the delay parameter, which is right after the previous primitive in the composition has finished.

Fix: 150715908
Test: N/A
Change-Id: Ic88b0d8a31a193b8b1726a9541d9e5955b729866
parent bc92c6eb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1083,7 +1083,8 @@ public abstract class VibrationEffect implements Parcelable {
         *
         * @param primitiveId The primitive to add
         * @param scale The scale to apply to the intensity of the primitive.
         * @param delay The amount of time in milliseconds to wait before playing this primitive
         * @param delay The amount of time in milliseconds to wait before playing this primitive,
         *              starting at the time the previous element in this composition is finished.
         * @return The {@link Composition} object to enable adding multiple primitives in one chain.
         */
        @NonNull