boolean function ( Context arg0 ) { PackageManager loc0 = arg0 . getPackageManager ( ) ; int loc1 = loc0 . checkPermission ( android . Manifest . permission . VIBRATE , arg0 . getPackageName ( ) ) ; return loc1 == PackageManager . PERMISSION_GRANTED ; }
method to verify that vibrate permission has been granted . allows users of the library to disabled vibrate support if desired . concode_field_sep int VIBRATE_LENGTH_MS concode_elem_sep Vibrator mVibrator concode_elem_sep boolean mIsGloballyEnabled concode_elem_sep ContentObserver mContentObserver concode_elem_sep int VIBRATE_DELAY_MS concode_elem_sep Context mContext concode_elem_sep long mLastVibrate concode_field_sep void stop concode_elem_sep void start concode_elem_sep void tryVibrate concode_elem_sep boolean checkGlobalSetting