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

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

Expose SPIN and THUD vibration effects to public

Fix: 167947207
Test: N/A
Change-Id: I0785ba8efbd8edea5813715e0891bda9341b5cea
parent 1eb043a9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -32054,6 +32054,8 @@ package android.os {
    field public static final int PRIMITIVE_QUICK_FALL = 6; // 0x6
    field public static final int PRIMITIVE_QUICK_RISE = 4; // 0x4
    field public static final int PRIMITIVE_SLOW_RISE = 5; // 0x5
    field public static final int PRIMITIVE_SPIN = 3; // 0x3
    field public static final int PRIMITIVE_THUD = 2; // 0x2
    field public static final int PRIMITIVE_TICK = 7; // 0x7
  }
+0 −4
Original line number Diff line number Diff line
@@ -749,14 +749,10 @@ public abstract class VibrationEffect implements Parcelable {
         * A haptic effect that simulates downwards movement with gravity. Often
         * followed by extra energy of hitting and reverberation to augment
         * physicality.
         *
         * @hide Not confident enough to expose publicly yet
         */
        public static final int PRIMITIVE_THUD = 2;
        /**
         * A haptic effect that simulates spinning momentum.
         *
         * @hide Not confident enough to expose publicly yet
         */
        public static final int PRIMITIVE_SPIN = 3;
        /**