Merge "Rename createPrebaked to createPredefined"
This commit is contained in:
committed by
Android (Google) Code Review
commit
7452b628e1
@@ -35517,7 +35517,7 @@ package android.os {
|
||||
|
||||
public abstract class VibrationEffect implements android.os.Parcelable {
|
||||
method public static android.os.VibrationEffect createOneShot(long, int);
|
||||
method public static android.os.VibrationEffect createPrebaked(int);
|
||||
method public static android.os.VibrationEffect createPredefined(int);
|
||||
method public static android.os.VibrationEffect createWaveform(long[], int);
|
||||
method public static android.os.VibrationEffect createWaveform(long[], int[], int);
|
||||
method public int describeContents();
|
||||
|
||||
@@ -240,7 +240,7 @@ public abstract class VibrationEffect implements Parcelable {
|
||||
*
|
||||
* @return The desired effect.
|
||||
*/
|
||||
public static VibrationEffect createPrebaked(@EffectType int effectId) {
|
||||
public static VibrationEffect createPredefined(@EffectType int effectId) {
|
||||
return get(effectId, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user