Merge "Rename createPrebaked to createPredefined"

This commit is contained in:
TreeHugger Robot
2019-02-28 14:50:09 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -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();

View File

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