Merge "Expose SPIN and THUD vibration effects to public" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-04-21 20:28:25 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 4 deletions

View File

@@ -32066,6 +32066,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;
/**