Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
if (vibrationPattern !=null && vibrationPattern.lenght > 0){
this.mVibrationEnabled = true;
this.mVibration = vibrationPattern
}else{
this.mVibrationEnabled = false;
this.mVibration = null;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment