re add hasVibrator check but it doesn't work in eclipse