Expose SPIN and THUD vibration effects to public

Fix: 167947207
Test: N/A
Change-Id: I0785ba8efbd8edea5813715e0891bda9341b5cea
This commit is contained in:
Lais Andrade
2021-04-13 13:20:49 +00:00
parent 1eb043a982
commit dd6027e5f1
2 changed files with 2 additions and 4 deletions

View File

@@ -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
}

View File

@@ -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;
/**